org.apache.abdera.protocol.server.filters
Class CompressionFilter.CompressingResponseContextWrapper
java.lang.Object
org.apache.abdera.protocol.server.context.ResponseContextWrapper
org.apache.abdera.protocol.server.filters.CompressionFilter.CompressingResponseContextWrapper
- All Implemented Interfaces:
- Message, Response, ResponseContext, ProtocolConstants
- Enclosing class:
- CompressionFilter
public static class CompressionFilter.CompressingResponseContextWrapper
- extends ResponseContextWrapper
A HttpServletResponseWrapper implementation that applies GZip or Deflate
compression to response output.
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, isMustRevalidate, isNoCache, isNoStore, isNoTransform, isPrivate, isProxyRevalidate, isPublic, removeHeader, setAge, setAllow, setAllow, 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 |
CompressionFilter.CompressingResponseContextWrapper
public CompressionFilter.CompressingResponseContextWrapper(ResponseContext response,
org.apache.abdera.util.CompressionUtil.CompressionCodec codec)
writeTo
public void writeTo(OutputStream out,
Writer writer)
throws IOException
- Description copied from interface:
ResponseContext
- Write the response out to the specified OutputStream
- Specified by:
writeTo
in interface ResponseContext
- Overrides:
writeTo
in class ResponseContextWrapper
- Throws:
IOException
writeTo
public void writeTo(OutputStream out)
throws IOException
- Description copied from interface:
ResponseContext
- Write the response out to the specified OutputStream
- Specified by:
writeTo
in interface ResponseContext
- Overrides:
writeTo
in class ResponseContextWrapper
- Throws:
IOException
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.