HttpContent.Factory populates the HttpContent#getPreCompressedContentFormats() field for any
HttpContent fetched through this factory.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final HttpContent. | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public | PreCompressedHttpContentFactory(HttpContent.
|
| public | PreCompressedHttpContentFactory(HttpContent.
|
| Modifier and Type | Method and Description |
|---|---|
| public HttpContent | getContent(String
The path within the context to the resource pathInContext)Implements org. |
| public String |
| _factory | back to summary |
|---|---|
| private final HttpContent. | |
| _preCompressedFormats | back to summary |
|---|---|
| private final List<CompressedContentFormat> _preCompressedFormats | |
| PreCompressedHttpContentFactory | back to summary |
|---|---|
| public PreCompressedHttpContentFactory(HttpContent. | |
| PreCompressedHttpContentFactory | back to summary |
|---|---|
| public PreCompressedHttpContentFactory(HttpContent. | |
| getContent | back to summary |
|---|---|
| public HttpContent getContent(String pathInContext) throws IOException Implements org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| private final Set |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Set |
| compressedFormats | back to summary |
|---|---|
| private final Set<CompressedContentFormat> compressedFormats | |
| CompressedFormatsHttpContent | back to summary |
|---|---|
| public CompressedFormatsHttpContent(HttpContent content, Set<CompressedContentFormat> compressedFormats) | |
| getPreCompressedContentFormats | back to summary |
|---|---|
| public Set Overrides org. Implements org.
| |