public class ResponseWriter extends FilterWriter
| Modifier and Type | Field and Description |
|---|---|
static String |
CRLF |
static String |
ISO_8859_1 |
out| Constructor and Description |
|---|
ResponseWriter(OutputStream outStream) |
ResponseWriter(OutputStream outStream,
String encoding) |
ResponseWriter(OutputStream outStream,
String lineSeparator,
String encoding) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
String |
getEncoding() |
void |
print(int i) |
void |
print(String s) |
void |
println() |
void |
println(int i) |
void |
println(String s) |
void |
write(byte b) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
write, write, writepublic static final String CRLF
public static final String ISO_8859_1
public ResponseWriter(OutputStream outStream) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic ResponseWriter(OutputStream outStream, String encoding) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic ResponseWriter(OutputStream outStream, String lineSeparator, String encoding) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic String getEncoding()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterWriterIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class FilterWriterIOExceptionpublic void write(byte b)
throws IOException
IOExceptionpublic void write(byte[] b)
throws IOException
IOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
IOExceptionpublic void print(String s) throws IOException
IOExceptionpublic void print(int i)
throws IOException
IOExceptionpublic void println(int i)
throws IOException
IOExceptionpublic void println(String s) throws IOException
IOExceptionpublic void println()
throws IOException
IOExceptionCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.