org.globus.gsi.tomcat
Class GlobusSSLInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by org.globus.gsi.tomcat.GlobusSSLInputStream
All Implemented Interfaces:
java.io.Closeable

public class GlobusSSLInputStream
extends java.io.InputStream


Constructor Summary
GlobusSSLInputStream(java.io.InputStream delegate, javax.net.ssl.SSLSocket sslSocket)
           
 
Method Summary
 int available()
           
 void close()
           
 boolean equals(java.lang.Object obj)
           
 javax.net.ssl.SSLSocket getSSLSocket()
           
 int hashCode()
           
 void mark(int readlimit)
           
 boolean markSupported()
           
 int read()
           
 int read(byte[] b)
           
 int read(byte[] b, int off, int len)
           
 void reset()
           
 long skip(long n)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GlobusSSLInputStream

public GlobusSSLInputStream(java.io.InputStream delegate,
                            javax.net.ssl.SSLSocket sslSocket)
Method Detail

getSSLSocket

public javax.net.ssl.SSLSocket getSSLSocket()

available

public int available()
              throws java.io.IOException
Overrides:
available in class java.io.InputStream
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.InputStream
Throws:
java.io.IOException

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

mark

public void mark(int readlimit)
Overrides:
mark in class java.io.InputStream

markSupported

public boolean markSupported()
Overrides:
markSupported in class java.io.InputStream

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
Throws:
java.io.IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws java.io.IOException
Overrides:
read in class java.io.InputStream
Throws:
java.io.IOException

read

public int read(byte[] b)
         throws java.io.IOException
Overrides:
read in class java.io.InputStream
Throws:
java.io.IOException

reset

public void reset()
           throws java.io.IOException
Overrides:
reset in class java.io.InputStream
Throws:
java.io.IOException

skip

public long skip(long n)
          throws java.io.IOException
Overrides:
skip in class java.io.InputStream
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2013. All Rights Reserved.