public final class IdentityEncodingHandler extends java.lang.Object implements IHTTPEncodingHandler
HTTP-1.1 Identity encoding handler.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId()
Returns the internal ID of the
IdentityEncodingHandler . |
static IdentityEncodingHandler |
getInstance()
Returns an instance of
IdentityEncodingHandler . |
java.io.InputStream |
open(java.io.InputStream original)
Returns the
original InputStream . |
java.io.OutputStream |
open(java.io.OutputStream original)
Returns the
original OutputStream . |
public static IdentityEncodingHandler getInstance()
Returns an instance of IdentityEncodingHandler
.
IdentityEncodingHandler
public java.lang.String getId()
Returns the internal ID of the IdentityEncodingHandler
.
getId
in interface IHTTPEncodingHandler
public java.io.InputStream open(java.io.InputStream original) throws java.io.IOException
Returns the original
InputStream
.
open
in interface IHTTPEncodingHandler
original
- the InputStream
to returnoriginal
InputStream
java.io.IOException
- not thrownpublic java.io.OutputStream open(java.io.OutputStream original) throws java.io.IOException
Returns the original
OutputStream
.
open
in interface IHTTPEncodingHandler
original
- the OutputStream
to returnoriginal
OutputStream
java.io.IOException
- not thrown