Package org.conscrypt
Class ConscryptEngineSocket.SSLOutputStream
java.lang.Object
java.io.OutputStream
org.conscrypt.ConscryptEngineSocket.SSLOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Enclosing class:
ConscryptEngineSocket
Wrap bytes written to the underlying socket.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate OutputStreamprivate final ByteBufferprivate final intprivate final Object -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidflush()private voidprivate voidinit()voidwrite(byte[] b) voidwrite(byte[] b, int off, int len) voidwrite(int b) private voidwriteInternal(ByteBuffer buffer) private voidMethods inherited from class java.io.OutputStream
nullOutputStream
-
Field Details
-
writeLock
-
target
-
targetArrayOffset
private final int targetArrayOffset -
socketOutputStream
-
-
Constructor Details
-
SSLOutputStream
SSLOutputStream()
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
writeInternal
- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
flushInternal
- Throws:
IOException
-
init
- Throws:
IOException
-
writeToSocket
- Throws:
IOException
-