public class GzipHttpContent extends Object implements HttpContent
HttpContent.Factory| Modifier and Type | Field and Description |
|---|---|
static PreEncodedHttpField |
CONTENT_ENCODING_GZIP |
static String |
ETAG_GZIP |
static String |
ETAG_GZIP_QUOTE |
| Constructor and Description |
|---|
GzipHttpContent(HttpContent content,
HttpContent contentGz) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCharacterEncoding() |
HttpField |
getContentEncoding() |
String |
getContentEncodingValue() |
HttpField |
getContentLength() |
long |
getContentLengthValue() |
HttpField |
getContentType() |
String |
getContentTypeValue() |
ByteBuffer |
getDirectBuffer() |
HttpField |
getETag() |
String |
getETagValue() |
HttpContent |
getGzipContent() |
ByteBuffer |
getIndirectBuffer() |
InputStream |
getInputStream() |
HttpField |
getLastModified() |
String |
getLastModifiedValue() |
MimeTypes.Type |
getMimeType() |
ReadableByteChannel |
getReadableByteChannel() |
Resource |
getResource() |
int |
hashCode() |
void |
release() |
static String |
removeGzipFromETag(String etag) |
String |
toString() |
public static final String ETAG_GZIP
public static final String ETAG_GZIP_QUOTE
public static final PreEncodedHttpField CONTENT_ENCODING_GZIP
public GzipHttpContent(HttpContent content, HttpContent contentGz)
public Resource getResource()
getResource in interface HttpContentpublic HttpField getETag()
getETag in interface HttpContentpublic String getETagValue()
getETagValue in interface HttpContentpublic HttpField getLastModified()
getLastModified in interface HttpContentpublic String getLastModifiedValue()
getLastModifiedValue in interface HttpContentpublic HttpField getContentType()
getContentType in interface HttpContentpublic String getContentTypeValue()
getContentTypeValue in interface HttpContentpublic HttpField getContentEncoding()
getContentEncoding in interface HttpContentpublic String getContentEncodingValue()
getContentEncodingValue in interface HttpContentpublic String getCharacterEncoding()
getCharacterEncoding in interface HttpContentpublic MimeTypes.Type getMimeType()
getMimeType in interface HttpContentpublic void release()
release in interface HttpContentpublic ByteBuffer getIndirectBuffer()
getIndirectBuffer in interface HttpContentpublic ByteBuffer getDirectBuffer()
getDirectBuffer in interface HttpContentpublic HttpField getContentLength()
getContentLength in interface HttpContentpublic long getContentLengthValue()
getContentLengthValue in interface HttpContentpublic InputStream getInputStream() throws IOException
getInputStream in interface HttpContentIOExceptionpublic ReadableByteChannel getReadableByteChannel() throws IOException
getReadableByteChannel in interface HttpContentIOExceptionpublic HttpContent getGzipContent()
getGzipContent in interface HttpContentCopyright © 1995-2016 Webtide. All Rights Reserved.