|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.grizzly.http.LZMAContentEncoding
public class LZMAContentEncoding
| Constructor Summary | |
|---|---|
LZMAContentEncoding()
|
|
LZMAContentEncoding(EncodingFilter encodingFilter)
|
|
| Method Summary | |
|---|---|
ParsingResult |
decode(Connection connection,
HttpContent httpContent)
Decode HTTP packet content represented by HttpContent. |
HttpContent |
encode(Connection connection,
HttpContent httpContent)
Encode HTTP packet content represented by HttpContent. |
boolean |
equals(Object o)
|
String[] |
getAliases()
Get the ContentEncoding aliases. |
static String[] |
getLzmaAliases()
|
String |
getName()
Get the ContentEncoding name. |
int |
hashCode()
|
boolean |
wantDecode(HttpHeader header)
Method should implement the logic, which decides if HTTP packet with the specific HttpHeader should be decoded using this ContentEncoding. |
boolean |
wantEncode(HttpHeader header)
Method should implement the logic, which decides if HTTP packet with the specific HttpHeader should be encoded using this ContentEncoding. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LZMAContentEncoding()
public LZMAContentEncoding(EncodingFilter encodingFilter)
| Method Detail |
|---|
public String getName()
ContentEncoding
getName in interface ContentEncodingpublic String[] getAliases()
ContentEncoding
getAliases in interface ContentEncodingpublic static String[] getLzmaAliases()
public boolean wantDecode(HttpHeader header)
ContentEncodingHttpHeader should be decoded using this ContentEncoding.
wantDecode in interface ContentEncodingheader - HTTP packet header.
public boolean wantEncode(HttpHeader header)
ContentEncodingHttpHeader should be encoded using this ContentEncoding.
wantEncode in interface ContentEncodingheader - HTTP packet header.
public ParsingResult decode(Connection connection,
HttpContent httpContent)
ContentEncodingHttpContent.
decode in interface ContentEncodingconnection - Connection.httpContent - HttpContent to decode.
ParsingResult, which represents the result of decoding.
public HttpContent encode(Connection connection,
HttpContent httpContent)
ContentEncodingHttpContent.
encode in interface ContentEncodingconnection - Connection.httpContent - HttpContent to encode.
HttpContent.public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||