com.github.ignition.support.http.gzip
Class GzipHttpRequestInterceptor

java.lang.Object
  extended by com.github.ignition.support.http.gzip.GzipHttpRequestInterceptor
All Implemented Interfaces:
org.apache.http.HttpRequestInterceptor

public class GzipHttpRequestInterceptor
extends Object
implements org.apache.http.HttpRequestInterceptor

Simple HttpRequestInterceptor that adds GZIP accept encoding header.


Constructor Summary
GzipHttpRequestInterceptor()
           
 
Method Summary
 void process(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GzipHttpRequestInterceptor

public GzipHttpRequestInterceptor()
Method Detail

process

public void process(org.apache.http.HttpRequest request,
                    org.apache.http.protocol.HttpContext context)
Specified by:
process in interface org.apache.http.HttpRequestInterceptor


Copyright © 2012. All Rights Reserved.