Module org.eclipse.jetty.http
Package org.eclipse.jetty.http
Class CachingHttpContentFactory.NotFoundHttpContent
java.lang.Object
org.eclipse.jetty.http.CachingHttpContentFactory.NotFoundHttpContent
- All Implemented Interfaces:
CachingHttpContentFactory.CachingHttpContent
,HttpContent
- Direct Known Subclasses:
ValidatingCachingHttpContentFactory.ValidatingNotFoundContent
- Enclosing class:
CachingHttpContentFactory
protected static class CachingHttpContentFactory.NotFoundHttpContent
extends Object
implements CachingHttpContentFactory.CachingHttpContent
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.http.HttpContent
HttpContent.Factory, HttpContent.Wrapper
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.http.HttpContent
getBytesOccupied
-
Constructor Details
-
NotFoundHttpContent
-
-
Method Details
-
getKey
- Specified by:
getKey
in interfaceCachingHttpContentFactory.CachingHttpContent
-
getLastAccessedNanos
public long getLastAccessedNanos()- Specified by:
getLastAccessedNanos
in interfaceCachingHttpContentFactory.CachingHttpContent
-
setLastAccessedNanos
public void setLastAccessedNanos(long nanosTime) - Specified by:
setLastAccessedNanos
in interfaceCachingHttpContentFactory.CachingHttpContent
-
getContentType
- Specified by:
getContentType
in interfaceHttpContent
-
getContentTypeValue
- Specified by:
getContentTypeValue
in interfaceHttpContent
-
getCharacterEncoding
- Specified by:
getCharacterEncoding
in interfaceHttpContent
-
getMimeType
- Specified by:
getMimeType
in interfaceHttpContent
-
getContentEncoding
- Specified by:
getContentEncoding
in interfaceHttpContent
-
getContentEncodingValue
- Specified by:
getContentEncodingValue
in interfaceHttpContent
-
getContentLength
- Specified by:
getContentLength
in interfaceHttpContent
-
getContentLengthValue
public long getContentLengthValue()- Specified by:
getContentLengthValue
in interfaceHttpContent
-
getLastModifiedInstant
- Specified by:
getLastModifiedInstant
in interfaceHttpContent
-
getLastModified
- Specified by:
getLastModified
in interfaceHttpContent
-
getLastModifiedValue
- Specified by:
getLastModifiedValue
in interfaceHttpContent
-
getETag
- Specified by:
getETag
in interfaceHttpContent
-
getETagValue
- Specified by:
getETagValue
in interfaceHttpContent
-
getResource
public org.eclipse.jetty.util.resource.Resource getResource()- Specified by:
getResource
in interfaceHttpContent
-
getByteBuffer
- Specified by:
getByteBuffer
in interfaceHttpContent
-
getPreCompressedContentFormats
- Specified by:
getPreCompressedContentFormats
in interfaceHttpContent
- Returns:
- Set of available pre-compressed formats for this content, or null if this has not been checked.
-
release
public void release()- Specified by:
release
in interfaceHttpContent
-
isValid
public boolean isValid()- Specified by:
isValid
in interfaceCachingHttpContentFactory.CachingHttpContent
-
retain
public boolean retain()- Specified by:
retain
in interfaceCachingHttpContentFactory.CachingHttpContent
-