public abstract class GssInputStream extends InputStream
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
buff |
protected GSSContext |
context |
protected InputStream |
in |
protected int |
index |
| Constructor and Description |
|---|
GssInputStream(InputStream in,
GSSContext context) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
protected boolean |
hasData() |
int |
read() |
int |
read(byte[] data) |
int |
read(byte[] data,
int off,
int len) |
protected abstract void |
readMsg() |
protected byte[] |
unwrap(byte[] msg) |
mark, markSupported, reset, skipprotected InputStream in
protected GSSContext context
protected byte[] buff
protected int index
public GssInputStream(InputStream in, GSSContext context)
protected byte[] unwrap(byte[] msg)
throws IOException
IOExceptionprotected abstract void readMsg()
throws IOException
IOExceptionpublic int read(byte[] data)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] data,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionprotected boolean hasData()
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionCopyright © 2015. All rights reserved.