org.apache.abdera.protocol.server.filters
Class CompressionFilter

java.lang.Object
  extended by org.apache.abdera.protocol.server.filters.CompressionFilter
All Implemented Interfaces:
Filter

public class CompressionFilter
extends Object
implements Filter

Abdera Filter implementation that selectively applies compression to the response payload


Nested Class Summary
static class CompressionFilter.CompressingOutputStream
           
static class CompressionFilter.CompressingResponseContextWrapper
          A HttpServletResponseWrapper implementation that applies GZip or Deflate compression to response output.
 
Constructor Summary
CompressionFilter()
           
 
Method Summary
 ResponseContext filter(RequestContext request, FilterChain chain)
          Process the filter request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompressionFilter

public CompressionFilter()
Method Detail

filter

public ResponseContext filter(RequestContext request,
                              FilterChain chain)
Description copied from interface: Filter
Process the filter request. The filter must call chain.next(request) to pass the request on to the next filter or the provider.

Specified by:
filter in interface Filter


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.