|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.abdera.protocol.server.context.ResponseContextWrapper
org.apache.abdera.protocol.server.filters.CompressionFilter.CompressingResponseContextWrapper
public static class CompressionFilter.CompressingResponseContextWrapper
A HttpServletResponseWrapper implementation that applies GZip or Deflate compression to response output.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.abdera.protocol.Response |
|---|
Response.ResponseType |
| Field Summary |
|---|
| Fields inherited from class org.apache.abdera.protocol.server.context.ResponseContextWrapper |
|---|
response |
| Fields inherited from interface org.apache.abdera.protocol.util.ProtocolConstants |
|---|
NOCACHE, NOSTORE, NOTRANSFORM, ONLYIFCACHED, PRIVATE, PROXYREVALIDATE, PUBLIC, REVALIDATE |
| Constructor Summary | |
|---|---|
CompressionFilter.CompressingResponseContextWrapper(ResponseContext response,
CompressionUtil.CompressionCodec codec)
|
|
| Method Summary | |
|---|---|
void |
writeTo(OutputStream out)
Write the response out to the specified OutputStream |
void |
writeTo(OutputStream out,
Writer writer)
Write the response out to the specified OutputStream |
| Methods inherited from class org.apache.abdera.protocol.server.context.ResponseContextWrapper |
|---|
addEncodedHeader, addEncodedHeaders, addHeader, addHeaders, getAge, getAllow, getCacheControl, getContentLanguage, getContentLength, getContentLocation, getContentType, getDateHeader, getDecodedHeader, getDecodedHeaders, getEntityTag, getExpires, getHeader, getHeaderNames, getHeaders, getLastModified, getLocation, getMaxAge, getNoCacheHeaders, getPrivateHeaders, getSlug, getSMaxAge, getStatus, getStatusText, getType, hasEntity, isBinary, isMustRevalidate, isNoCache, isNoStore, isNoTransform, isPrivate, isProxyRevalidate, isPublic, removeHeader, setAge, setAllow, setAllow, setBinary, setContentLanguage, setContentLength, setContentLocation, setContentType, setContentType, setEncodedHeader, setEncodedHeader, setEntityTag, setEntityTag, setEscapedHeader, setExpires, setHeader, setHeader, setLastModified, setLocation, setSlug, setStatus, setStatusText, setWriter, writeTo, writeTo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompressionFilter.CompressingResponseContextWrapper(ResponseContext response,
CompressionUtil.CompressionCodec codec)
| Method Detail |
|---|
public void writeTo(OutputStream out,
Writer writer)
throws IOException
ResponseContext
writeTo in interface ResponseContextwriteTo in class ResponseContextWrapperIOException
public void writeTo(OutputStream out)
throws IOException
ResponseContext
writeTo in interface ResponseContextwriteTo in class ResponseContextWrapperIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||