| Package | Description |
|---|---|
| org.everit.osgi.webresource | |
| org.everit.osgi.webresource.internal |
| Modifier and Type | Method and Description |
|---|---|
static ContentEncoding |
ContentEncoding.resolveEncoding(javax.servlet.http.HttpServletRequest request)
Resolves the best supported content encoding from the request.
|
static ContentEncoding |
ContentEncoding.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentEncoding[] |
ContentEncoding.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Map<ContentEncoding,Integer> |
WebResource.getCacheState()
After a
WebResource is requested with a ContentEncoding, the content is cached
in the memory. |
| Modifier and Type | Method and Description |
|---|---|
long |
WebResource.getContentLength(ContentEncoding contentEncoding)
The length of the content of the
WebResource in the specific ContentEncoding. |
InputStream |
WebResource.getInputStream(ContentEncoding contentEncoding,
int beginIndex)
Creates a new
InputStream to read the content of the WebResource. |
| Modifier and Type | Method and Description |
|---|---|
Map<ContentEncoding,Integer> |
WebResourceImpl.getCacheState() |
| Modifier and Type | Method and Description |
|---|---|
long |
WebResourceImpl.getContentLength(ContentEncoding contentEncoding) |
InputStream |
WebResourceImpl.getInputStream(ContentEncoding contentEncoding,
int beginIndex) |
Copyright © 2011–2015 Everit Kft.. All rights reserved.