This information represents all the information about a static resource that is needed to evaluate conditional headers and to serve the content if need be. It can be implemented either transiently (values and fields generated on demand) or persistently (values and fields pre-generated in anticipation of reuse in from a cache).
| Modifier and Type | Class and Description |
|---|---|
| public static interface | |
| public static class | HttpContent.
HttpContent Wrapper. |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuffer | Returns: aByteBuffer instance or null.Get this HTTP content as a |
| public default long | |
| public String | |
| public HttpField | |
| public String | |
| public HttpField | |
| public long | |
| public HttpField | |
| public String | |
| public HttpField | |
| public String | |
| public HttpField | |
| public Instant | |
| public String | |
| public MimeTypes. | |
| public Set | getPreCompressedContentFormats()
Returns: Set of available pre-compressed formats for this content, or null if this has not been checked. |
| public Resource | |
| public void |
| getByteBuffer | back to summary |
|---|---|
| public ByteBuffer getByteBuffer() Get this HTTP content as a Each invocation returns a new
| |
| getBytesOccupied | back to summary |
|---|---|
| public default long getBytesOccupied() | |
| getCharacterEncoding | back to summary |
|---|---|
| public String getCharacterEncoding() | |
| getContentEncoding | back to summary |
|---|---|
| public HttpField getContentEncoding() | |
| getContentEncodingValue | back to summary |
|---|---|
| public String getContentEncodingValue() | |
| getContentLength | back to summary |
|---|---|
| public HttpField getContentLength() | |
| getContentLengthValue | back to summary |
|---|---|
| public long getContentLengthValue() | |
| getContentType | back to summary |
|---|---|
| public HttpField getContentType() | |
| getContentTypeValue | back to summary |
|---|---|
| public String getContentTypeValue() | |
| getETag | back to summary |
|---|---|
| public HttpField getETag() | |
| getETagValue | back to summary |
|---|---|
| public String getETagValue() | |
| getLastModified | back to summary |
|---|---|
| public HttpField getLastModified() | |
| getLastModifiedInstant | back to summary |
|---|---|
| public Instant getLastModifiedInstant() | |
| getLastModifiedValue | back to summary |
|---|---|
| public String getLastModifiedValue() | |
| getMimeType | back to summary |
|---|---|
| public MimeTypes. | |
| getPreCompressedContentFormats | back to summary |
|---|---|
public Set
| |
| getResource | back to summary |
|---|---|
| public Resource getResource() | |
| release | back to summary |
|---|---|
| public void release() | |
| Modifier and Type | Method and Description |
|---|---|
| public HttpContent |
| getContent | back to summary |
|---|---|
public HttpContent getContent(String path) throws IOException
| |
| Modifier and Type | Field and Description |
|---|---|
| private final HttpContent |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuffer | getByteBuffer()
Implements org. Get this HTTP content as a |
| public long | |
| public String | |
| public HttpField | |
| public String | |
| public HttpField | |
| public long | |
| public HttpField | |
| public String | |
| public HttpField | |
| public String | |
| public HttpField | |
| public Instant | |
| public String | |
| public MimeTypes. | |
| public Set | |
| public Resource | |
| public HttpContent | |
| public void | |
| public String |
| _delegate | back to summary |
|---|---|
| private final HttpContent _delegate | |
| Wrapper | back to summary |
|---|---|
| public Wrapper(HttpContent content) | |
| getByteBuffer | back to summary |
|---|---|
| public ByteBuffer getByteBuffer() Implements org. Doc from org. Get this HTTP content as a Each invocation returns a new
| |
| getBytesOccupied | back to summary |
|---|---|
| public long getBytesOccupied() Overrides default org.
| |
| getCharacterEncoding | back to summary |
|---|---|
| public String getCharacterEncoding() Implements org.
| |
| getContentEncoding | back to summary |
|---|---|
| public HttpField getContentEncoding() Implements org.
| |
| getContentEncodingValue | back to summary |
|---|---|
| public String getContentEncodingValue() Implements org.
| |
| getContentLength | back to summary |
|---|---|
| public HttpField getContentLength() Implements org.
| |
| getContentLengthValue | back to summary |
|---|---|
| public long getContentLengthValue() Implements org.
| |
| getContentType | back to summary |
|---|---|
| public HttpField getContentType() Implements org.
| |
| getContentTypeValue | back to summary |
|---|---|
| public String getContentTypeValue() Implements org.
| |
| getETag | back to summary |
|---|---|
| public HttpField getETag() Implements org.
| |
| getETagValue | back to summary |
|---|---|
| public String getETagValue() Implements org.
| |
| getLastModified | back to summary |
|---|---|
| public HttpField getLastModified() Implements org.
| |
| getLastModifiedInstant | back to summary |
|---|---|
| public Instant getLastModifiedInstant() Implements org.
| |
| getLastModifiedValue | back to summary |
|---|---|
| public String getLastModifiedValue() Implements org.
| |
| getMimeType | back to summary |
|---|---|
| public MimeTypes. Implements org.
| |
| getPreCompressedContentFormats | back to summary |
|---|---|
| public Set Implements org.
| |
| getResource | back to summary |
|---|---|
| public Resource getResource() Implements org.
| |
| getWrapped | back to summary |
|---|---|
| public HttpContent getWrapped() | |
| release | back to summary |
|---|---|
| public void release() Implements org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |