Axis2 already supports GZip compression. Here is where the GZip logic is
located. Hope this helps
1. Sending a messgae - AxisRequestEntity (writeRequest method) Lines 77-101
Used by HTTPSender
- CommonsHTTPTransportSender Lines
316-326
2. Reading a response - AbstractHTTPSender Lines 216-222
3. Reading in a Request Message - HTTPTransportUtils (handleGZip method)
Lines351-364
Thanks,
Keith.
On Tue, Apr 15, 2008 at 5:14 AM, juliocest <[EMAIL PROTECTED]> wrote:
>
> Hi everybody,
>
> I have been working with Axis2 since last year and using it every day. In
> the last days i am investigating where GZIP is implemented on axis2 source
> code (what file(s)). I found some possible files in what GZIP Compressing
> could be implemented:
>
> HTTPTransportSender.java
> AxisRequestEntity.java
> CommonsHTTPTransportSender.java
> AbstractHTTPSender.java
> HTTPTransportUtils.java
> Options.java
>
> I need discover in what file should I set the time to comprees and
> decompress a request sent by a client.
> I want to know:
>
> CLIENT
>
> * Time to compress a request sent by a client
> * Time to decompress a response received from service provider
>
> SERVICE PROVIDER
>
> * Time to decompress the resquest sent by the client
> * Time to compress the response sent by the server
>
> I am intend to use System.NanoTime() to get the time.
>
> Someone could help me?
>
> Thanks a lot.
>
> JĂșlio
>
>
> --
> View this message in context:
> http://www.nabble.com/GZIP-Code-on-Axis2-Source-Code-tp16692260p16692260.html
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/
blog: http://www.keith-chapman.org