org.apache.axis2.transport.http.server
Class ResponseWriter
java.lang.Object
java.io.Writer
java.io.FilterWriter
org.apache.axis2.transport.http.server.ResponseWriter
- public class ResponseWriter
- extends FilterWriter
Provides a hybrid Writer/OutputStream for sending HTTP response data
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CRLF
public static final String CRLF
- See Also:
- Constant Field Values
ISO_8859_1
public static final String ISO_8859_1
- See Also:
- Constant Field Values
ResponseWriter
public ResponseWriter(OutputStream outStream)
throws UnsupportedEncodingException
ResponseWriter
public ResponseWriter(OutputStream outStream,
String encoding)
throws UnsupportedEncodingException
ResponseWriter
public ResponseWriter(OutputStream outStream,
String lineSeparator,
String encoding)
throws UnsupportedEncodingException
close
public void close()
throws IOException
- Throws:
IOException
flush
public void flush()
throws IOException
- Throws:
IOException
print
public void print(int i)
throws IOException
- Throws:
IOException
print
public void print(String s)
throws IOException
- Throws:
IOException
println
public void println()
throws IOException
- Throws:
IOException
println
public void println(int i)
throws IOException
- Throws:
IOException
println
public void println(String s)
throws IOException
- Throws:
IOException
write
public void write(byte b)
throws IOException
- Throws:
IOException
write
public void write(byte[] b)
throws IOException
- Throws:
IOException
write
public void write(byte[] b,
int off,
int len)
throws IOException
- Throws:
IOException
getEncoding
public String getEncoding()