static class KerberosUtil.ConnectionInputStream extends InputStream
| Modifier and Type | Field and Description |
|---|---|
private byte[] |
buf |
private KerberosUtil.Connection |
connection |
private int |
offset |
| Constructor and Description |
|---|
ConnectionInputStream(KerberosUtil.Connection connection)
Construct the input stream
|
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close()
Close the DataInputStream of the enclosed connection
|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
mark, markSupported, read, reset, skipprivate byte[] buf
private int offset
private final KerberosUtil.Connection connection
ConnectionInputStream(KerberosUtil.Connection connection)
public int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.