|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.flat502.rox.encoding.DeflaterEncoding
public class DeflaterEncoding
Constructor Summary | |
---|---|
DeflaterEncoding()
|
Method Summary | |
---|---|
java.io.InputStream |
getDecoder(java.io.InputStream in)
Implementations should return a stream ready for decoding. |
java.io.OutputStream |
getEncoder(java.io.OutputStream out)
Implementations should return a stream ready for encoding. |
java.lang.String |
getName()
Implementations should return the canonical name of this encoding. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeflaterEncoding()
Method Detail |
---|
public java.lang.String getName()
Encoding
This name is sent as the value in the Content-Encoding
and Accept-Encoding
HTTP headers where required, and
is used when locating an encoding handler on the server side.
getName
in interface Encoding
HttpConstants.ContentEncoding
public java.io.InputStream getDecoder(java.io.InputStream in) throws java.io.IOException
Encoding
getDecoder
in interface Encoding
in
- The stream from which encoded data may be read.
java.io.IOException
public java.io.OutputStream getEncoder(java.io.OutputStream out) throws java.io.IOException
Encoding
The returned stream will be closed before the encoded data is marshalled.
getEncoder
in interface Encoding
out
- The stream to which encoded data should ultimately be
written.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |