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, write
public static final String CRLF
public static final String ISO_8859_1
public ResponseWriter(OutputStream outStream) throws UnsupportedEncodingException
UnsupportedEncodingException
public ResponseWriter(OutputStream outStream, String encoding) throws UnsupportedEncodingException
UnsupportedEncodingException
public ResponseWriter(OutputStream outStream, String lineSeparator, String encoding) throws UnsupportedEncodingException
UnsupportedEncodingException
public String getEncoding()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterWriter
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class FilterWriter
IOException
public void write(byte b) throws IOException
IOException
public void write(byte[] b) throws IOException
IOException
public void write(byte[] b, int off, int len) throws IOException
IOException
public void print(String s) throws IOException
IOException
public void print(int i) throws IOException
IOException
public void println(int i) throws IOException
IOException
public void println(String s) throws IOException
IOException
public void println() throws IOException
IOException
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.