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 |
---|
KerberosUtil.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, skip
private byte[] buf
private int offset
private final KerberosUtil.Connection connection
KerberosUtil.ConnectionInputStream(KerberosUtil.Connection connection)
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public int available() throws IOException
available
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.