static class KerberosUtil.ConnectionOutputStream extends OutputStream
| Modifier and Type | Field and Description |
|---|---|
private byte[] |
buf |
private static int |
bufSize |
private KerberosUtil.Connection |
connection |
private int |
curLen |
| Constructor and Description |
|---|
ConnectionOutputStream(KerberosUtil.Connection connection)
Construct an instance of ConnectionOutputStream
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Flush this stream, then close the DataOutputStream of the
enclosed connection.
|
void |
flush() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
writeprivate static final int bufSize
private final byte[] buf
private int curLen
private final KerberosUtil.Connection connection
ConnectionOutputStream(KerberosUtil.Connection connection)
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.