Closeable, AutoCloseableGridFTPInputStream, GSIGssInputStreampublic abstract class GssInputStream extends InputStream
| Modifier and Type | Field | Description |
|---|---|---|
protected byte[] |
buff |
|
protected GSSContext |
context |
|
protected InputStream |
in |
|
protected int |
index |
| Constructor | Description |
|---|---|
GssInputStream(InputStream in,
GSSContext context) |
| Modifier and Type | Method | 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, readAllBytes, readNBytes, reset, skip, transferToprotected 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 AutoCloseableclose in interface Closeableclose in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionCopyright © 2018. All rights reserved.