public abstract class GssOutputStream extends OutputStream
Modifier and Type | Field and Description |
---|---|
protected boolean |
autoFlush |
protected byte[] |
buff |
protected GSSContext |
context |
protected int |
index |
protected OutputStream |
out |
Constructor and Description |
---|
GssOutputStream(OutputStream out,
GSSContext context) |
GssOutputStream(OutputStream out,
GSSContext context,
int size) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
abstract void |
flush() |
boolean |
getAutoFlush() |
void |
setAutoFlush(boolean autoFlush) |
protected byte[] |
wrap() |
void |
write(byte[] data) |
void |
write(byte[] data,
int off,
int len) |
void |
write(int b) |
protected OutputStream out
protected GSSContext context
protected boolean autoFlush
protected byte[] buff
protected int index
public GssOutputStream(OutputStream out, GSSContext context)
public GssOutputStream(OutputStream out, GSSContext context, int size)
public void setAutoFlush(boolean autoFlush)
public boolean getAutoFlush()
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] data) throws IOException
write
in class OutputStream
IOException
public void write(byte[] data, int off, int len) throws IOException
write
in class OutputStream
IOException
protected byte[] wrap() throws IOException
IOException
public abstract void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
Copyright © 2016. All rights reserved.