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 final byte[]
private final GSSContext
private int
private final byte[]
private final MessageProp
private final OutputStream
-
Constructor Summary
ConstructorsConstructorDescriptionGSSOutputStream
(OutputStream out, GSSContext gssContext, MessageProp messageProp, int bufferSize) -
Method Summary
Modifier and TypeMethodDescriptionvoid
flush()
private void
sendInteger4Raw
(int val) void
write
(byte[] buf) void
write
(byte[] b, int pos, int len) void
write
(int b) Methods inherited from class java.io.OutputStream
close, nullOutputStream
-
Field Details
-
gssContext
-
messageProp
-
buffer
private final byte[] buffer -
int4Buf
private final 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:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
sendInteger4Raw
- Throws:
IOException
-