Package org.postgresql.gss
Class GSSOutputStream
java.lang.Object
java.io.OutputStream
org.postgresql.gss.GSSOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate byte[]private final GSSContextprivate intprivate byte[]private final MessagePropprivate OutputStream -
Constructor Summary
ConstructorsConstructorDescriptionGSSOutputStream(OutputStream out, GSSContext gssContext, MessageProp messageProp, int bufferSize) -
Method Summary
Modifier and TypeMethodDescriptionvoidflush()private voidsendInteger4Raw(int val) voidwrite(byte[] buf) voidwrite(byte[] b, int pos, int len) voidwrite(int b) Methods inherited from class java.io.OutputStream
close, nullOutputStream
-
Field Details
-
gssContext
-
messageProp
-
buffer
private byte[] buffer -
int4Buf
private byte[] int4Buf -
index
private int index -
wrapped
-
-
Constructor Details
-
GSSOutputStream
public GSSOutputStream(OutputStream out, GSSContext gssContext, MessageProp messageProp, int bufferSize)
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
sendInteger4Raw
- Throws:
IOException
-