com.jayway.restassured.internal.http
Class DeflateEncoding
java.lang.Object
com.jayway.restassured.internal.http.ContentEncoding
com.jayway.restassured.internal.http.DeflateEncoding
public class DeflateEncoding
- extends ContentEncoding
Content encoding used to handle Deflate responses.
- Author:
- Tom Nichols
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeflateEncoding
public DeflateEncoding()
getContentEncoding
public String getContentEncoding()
- Returns the
ContentEncoding.Type.DEFLATE encoding string which is
added to the Accept-Encoding header by the base class.
- Specified by:
getContentEncoding in class ContentEncoding
wrapResponseEntity
public org.apache.http.HttpEntity wrapResponseEntity(org.apache.http.HttpEntity raw)
- Wraps the raw entity in a
DeflateEncoding.InflaterEntity.
- Specified by:
wrapResponseEntity in class ContentEncoding
Copyright © 2010-2012. All Rights Reserved.