public class EntityServletOutputStream
extends javax.servlet.ServletOutputStream
ServletOutputStreams,
normally there is not a default implementation available for these for some crazed reason| Modifier and Type | Class and Description |
|---|---|
static class |
EntityServletOutputStream.WriterOutputStream
Wrap a Writer as an OutputStream.
|
| Constructor and Description |
|---|
EntityServletOutputStream()
Create a SOS with a default BOS as the storage mechanism for it
|
EntityServletOutputStream(OutputStream outputStream)
Create the SOS from an existing outputstream
|
EntityServletOutputStream(Writer writer)
Creates the SOS from an existing writer
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
equals(Object obj) |
void |
flush() |
int |
hashCode() |
String |
toString() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
public EntityServletOutputStream()
public EntityServletOutputStream(OutputStream outputStream)
outputStream - the OS to create the SOS from, can be buffered or notpublic EntityServletOutputStream(Writer writer)
writer - any writerpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2007–2019 CARET, University of Cambridge. All rights reserved.