|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgroovyx.net.http.ContentEncoding
groovyx.net.http.GZIPEncoding
public class GZIPEncoding
Content encoding used to handle GZIP responses.
| Nested Class Summary | |
|---|---|
protected static class |
GZIPEncoding.GZIPDecompressingEntity
Entity used to interpret a GZIP-encoded response |
| Nested classes/interfaces inherited from class groovyx.net.http.ContentEncoding |
|---|
ContentEncoding.RequestInterceptor, ContentEncoding.ResponseInterceptor, ContentEncoding.Type |
| Field Summary |
|---|
| Fields inherited from class groovyx.net.http.ContentEncoding |
|---|
ACCEPT_ENC_HDR, CONTENT_ENC_HDR |
| Constructor Summary | |
|---|---|
GZIPEncoding()
|
|
| Method Summary | |
|---|---|
String |
getContentEncoding()
Returns the Type#GZIP encoding string which is added to the
Accept header by the base class. |
HttpEntity |
wrapResponseEntity(HttpEntity raw)
Wraps the raw entity in a GZIPEncoding.GZIPDecompressingEntity. |
| Methods inherited from class groovyx.net.http.ContentEncoding |
|---|
getRequestInterceptor, getResponseInterceptor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GZIPEncoding()
| Method Detail |
|---|
public String getContentEncoding()
Type#GZIP encoding string which is added to the
Accept header by the base class.
getContentEncoding in class ContentEncodingpublic HttpEntity wrapResponseEntity(HttpEntity raw)
GZIPEncoding.GZIPDecompressingEntity.
wrapResponseEntity in class ContentEncoding
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||