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, skip
protected InputStream in
protected GSSContext context
protected byte[] buff
protected int index
public GssInputStream(InputStream in, GSSContext context)
protected byte[] unwrap(byte[] msg) throws IOException
IOException
protected abstract void readMsg() throws IOException
IOException
public int read(byte[] data) throws IOException
read
in class InputStream
IOException
public int read(byte[] data, int off, int len) throws IOException
read
in class InputStream
IOException
public int read() throws IOException
read
in class InputStream
IOException
protected boolean hasData() throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
public int available() throws IOException
available
in class InputStream
IOException
Copyright © 2016. All rights reserved.