public abstract class ResilientOutputStreamBase extends OutputStream
Modifier and Type | Field and Description |
---|---|
protected OutputStream |
os |
protected boolean |
presumedClean |
Constructor and Description |
---|
ResilientOutputStreamBase() |
Modifier and Type | Method and Description |
---|---|
void |
addStatus(Status status) |
void |
close() |
void |
flush() |
Context |
getContext() |
void |
postIOFailure(IOException e) |
void |
setContext(Context context) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
write
protected OutputStream os
protected boolean presumedClean
public void write(byte[] b, int off, int len)
write
in class OutputStream
public void write(int b)
write
in class OutputStream
public void flush()
flush
in interface Flushable
flush
in class OutputStream
public void postIOFailure(IOException e)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
public void addStatus(Status status)
public Context getContext()
public void setContext(Context context)
Copyright © 2005–2021 QOS.ch. All rights reserved.