org.eclipse.jetty.http.HttpContentpublic class ResourceCache.CachedHttpContent
extends java.lang.Object
implements org.eclipse.jetty.http.HttpContent
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getCharacterEncoding() |
|
org.eclipse.jetty.http.HttpField |
getContentEncoding() |
|
java.lang.String |
getContentEncodingValue() |
|
org.eclipse.jetty.http.HttpField |
getContentLength() |
|
long |
getContentLengthValue() |
|
org.eclipse.jetty.http.HttpField |
getContentType() |
|
java.lang.String |
getContentTypeValue() |
|
java.nio.ByteBuffer |
getDirectBuffer() |
|
org.eclipse.jetty.http.HttpField |
getETag() |
|
java.lang.String |
getETagValue() |
|
org.eclipse.jetty.http.HttpContent |
getGzipContent() |
|
java.nio.ByteBuffer |
getIndirectBuffer() |
|
java.io.InputStream |
getInputStream() |
|
java.lang.String |
getKey() |
|
org.eclipse.jetty.http.HttpField |
getLastModified() |
|
java.lang.String |
getLastModifiedValue() |
|
org.eclipse.jetty.http.MimeTypes.Type |
getMimeType() |
|
java.nio.channels.ReadableByteChannel |
getReadableByteChannel() |
|
org.eclipse.jetty.util.resource.Resource |
getResource() |
|
protected void |
invalidate() |
|
boolean |
isCached() |
|
boolean |
isMiss() |
|
void |
release() |
|
java.lang.String |
toString() |
public java.lang.String getKey()
public boolean isCached()
public boolean isMiss()
public org.eclipse.jetty.util.resource.Resource getResource()
getResource in interface org.eclipse.jetty.http.HttpContentpublic org.eclipse.jetty.http.HttpField getETag()
getETag in interface org.eclipse.jetty.http.HttpContentpublic java.lang.String getETagValue()
getETagValue in interface org.eclipse.jetty.http.HttpContentprotected void invalidate()
public org.eclipse.jetty.http.HttpField getLastModified()
getLastModified in interface org.eclipse.jetty.http.HttpContentpublic java.lang.String getLastModifiedValue()
getLastModifiedValue in interface org.eclipse.jetty.http.HttpContentpublic org.eclipse.jetty.http.HttpField getContentType()
getContentType in interface org.eclipse.jetty.http.HttpContentpublic java.lang.String getContentTypeValue()
getContentTypeValue in interface org.eclipse.jetty.http.HttpContentpublic org.eclipse.jetty.http.HttpField getContentEncoding()
getContentEncoding in interface org.eclipse.jetty.http.HttpContentpublic java.lang.String getContentEncodingValue()
getContentEncodingValue in interface org.eclipse.jetty.http.HttpContentpublic java.lang.String getCharacterEncoding()
getCharacterEncoding in interface org.eclipse.jetty.http.HttpContentpublic org.eclipse.jetty.http.MimeTypes.Type getMimeType()
getMimeType in interface org.eclipse.jetty.http.HttpContentpublic void release()
release in interface org.eclipse.jetty.http.HttpContentpublic java.nio.ByteBuffer getIndirectBuffer()
getIndirectBuffer in interface org.eclipse.jetty.http.HttpContentpublic java.nio.ByteBuffer getDirectBuffer()
getDirectBuffer in interface org.eclipse.jetty.http.HttpContentpublic org.eclipse.jetty.http.HttpField getContentLength()
getContentLength in interface org.eclipse.jetty.http.HttpContentpublic long getContentLengthValue()
getContentLengthValue in interface org.eclipse.jetty.http.HttpContentpublic java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in interface org.eclipse.jetty.http.HttpContentjava.io.IOExceptionpublic java.nio.channels.ReadableByteChannel getReadableByteChannel()
throws java.io.IOException
getReadableByteChannel in interface org.eclipse.jetty.http.HttpContentjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic org.eclipse.jetty.http.HttpContent getGzipContent()
getGzipContent in interface org.eclipse.jetty.http.HttpContentCopyright © 1995–2018 Webtide. All rights reserved.