org.openrdf.http.object.filters
Class GUnzipFilter

java.lang.Object
  extended by org.openrdf.http.object.model.Filter
      extended by org.openrdf.http.object.filters.GUnzipFilter

public class GUnzipFilter
extends Filter

Uncompresses the response if the requesting client does not explicitly say it accepts gzip.


Constructor Summary
GUnzipFilter(Filter delegate)
           
 
Method Summary
 Request filter(Request req)
           
 org.apache.http.HttpResponse filter(Request req, org.apache.http.HttpResponse resp)
           
 
Methods inherited from class org.openrdf.http.object.model.Filter
consume, intercept
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GUnzipFilter

public GUnzipFilter(Filter delegate)
Method Detail

filter

public Request filter(Request req)
               throws IOException
Overrides:
filter in class Filter
Throws:
IOException

filter

public org.apache.http.HttpResponse filter(Request req,
                                           org.apache.http.HttpResponse resp)
                                    throws IOException
Overrides:
filter in class Filter
Throws:
IOException


Copyright © 2004-2010 James Leigh Services Inc.. All Rights Reserved.