| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private OpenSSLBIOInputStream |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected void | finalize()
Overrides java. |
| pack-priv long | |
| private synchronized void | |
| pack-priv static OpenSSLBIOSource |
| source | back to summary |
|---|---|
| private OpenSSLBIOInputStream source | |
| OpenSSLBIOSource | back to summary |
|---|---|
| private OpenSSLBIOSource(OpenSSLBIOInputStream source) | |
| finalize | back to summary |
|---|---|
| protected void finalize() throws Throwable Overrides java. Doc from java. Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
A subclass overrides the
When running in a Java virtual machine in which finalization has been
disabled or removed, the garbage collector will never call
The general contract of
The
The Java programming language does not guarantee which thread will
invoke the
After the
The
Any exception thrown by the | |
| getContext | back to summary |
|---|---|
| pack-priv long getContext() | |
| release | back to summary |
|---|---|
| private synchronized void release() | |
| wrap | back to summary |
|---|---|
| pack-priv static OpenSSLBIOSource wrap(ByteBuffer buffer) | |
| Modifier and Type | Field and Description |
|---|---|
| private final ByteBuffer |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | available()
Overrides java. |
| public int | read()
Implements abstract java. |
| public int | read(byte[]
the buffer into which the data is read. buffer)Overrides java. b.
|
| public int | read(byte[]
the buffer into which the data is read. buffer, int the start offset in array byteOffset, int b
at which the data is written.the maximum number of bytes to read. byteCount)Overrides java. len bytes of data from the input stream into
an array of bytes.
|
| public void | reset()
Overrides java. mark method was last called on this input stream.
|
| public long | skip(long
the number of bytes to be skipped. byteCount)Overrides java. n bytes of data from this input
stream.
|
| source | back to summary |
|---|---|
| private final ByteBuffer source | |
| ByteBufferInputStream | back to summary |
|---|---|
| pack-priv ByteBufferInputStream(ByteBuffer source) | |
| available | back to summary |
|---|---|
| public int available() throws IOException Overrides java. Doc from java. Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking, which may be 0, or 0 when end of stream is detected. The read might be on the same thread or another thread. A single read or skip of this many bytes will not block, but may read or skip fewer bytes. Note that while some implementations of A subclass's implementation of this method may choose to throw an
| |
| read | back to summary |
|---|---|
| public int read() throws IOException Implements abstract java. Doc from java. Reads the next byte of data from the input stream. The value byte is
returned as an
| |
| read | back to summary |
|---|---|
| public int read(byte[] buffer) throws IOException Overrides java. Doc from java. Reads some number of bytes from the input stream and stores them into
the buffer array If the length of The first byte read is stored into element
| |
| read | back to summary |
|---|---|
| public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException Overrides java. Doc from java. Reads up to This method blocks until input data is available, end of file is detected, or an exception is thrown. If The first byte read is stored into element In every case, elements
| |
| reset | back to summary |
|---|---|
| public void reset() throws IOException Overrides java. Doc from java. Repositions this stream to the position at the time the
The general contract of
| |
| skip | back to summary |
|---|---|
| public long skip(long byteCount) throws IOException Overrides java. Doc from java. Skips over and discards
| |