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.
IdentityEncodingHandlerpublic java.lang.String getId()
Returns the internal ID of the IdentityEncodingHandler.
getId in interface IHTTPEncodingHandlerpublic java.io.InputStream open(java.io.InputStream original)
throws java.io.IOException
Returns the original InputStream.
open in interface IHTTPEncodingHandleroriginal - the InputStream to returnoriginal InputStreamjava.io.IOException - not thrownpublic java.io.OutputStream open(java.io.OutputStream original)
throws java.io.IOException
Returns the original OutputStream.
open in interface IHTTPEncodingHandleroriginal - the OutputStream to returnoriginal OutputStreamjava.io.IOException - not thrown