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 java.io.FilterWriter
Provides a hybrid Writer/OutputStream for sending HTTP response data
Field Summary |
static java.lang.String |
CRLF
|
static java.lang.String |
ISO_8859_1
|
Fields inherited from class java.io.FilterWriter |
out |
Fields inherited from class java.io.Writer |
lock |
Constructor Summary |
ResponseWriter(java.io.OutputStream outStream)
|
ResponseWriter(java.io.OutputStream outStream,
java.lang.String encoding)
|
ResponseWriter(java.io.OutputStream outStream,
java.lang.String lineSeparator,
java.lang.String encoding)
|
Methods inherited from class java.io.FilterWriter |
write, write, write |
Methods inherited from class java.io.Writer |
write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CRLF
public static final java.lang.String CRLF
- See Also:
- Constant Field Values
ISO_8859_1
public static final java.lang.String ISO_8859_1
- See Also:
- Constant Field Values
ResponseWriter
public ResponseWriter(java.io.OutputStream outStream)
throws java.io.UnsupportedEncodingException
ResponseWriter
public ResponseWriter(java.io.OutputStream outStream,
java.lang.String encoding)
throws java.io.UnsupportedEncodingException
ResponseWriter
public ResponseWriter(java.io.OutputStream outStream,
java.lang.String lineSeparator,
java.lang.String encoding)
throws java.io.UnsupportedEncodingException
getEncoding
public java.lang.String getEncoding()
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(byte b)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(byte[] b)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
print
public void print(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
print
public void print(int i)
throws java.io.IOException
- Throws:
java.io.IOException
println
public void println(int i)
throws java.io.IOException
- Throws:
java.io.IOException
println
public void println(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
println
public void println()
throws java.io.IOException
- Throws:
java.io.IOException