Re: [Carbon-dev] MeteredServletRequest/Response

2010-07-30 Thread Afkham Azeez
OK. I guess we can copy & paste this detailed explanation into the Javadoc :) On Fri, Jul 30, 2010 at 1:06 PM, Dimuthu Gamage wrote: > Hi, > We need the MeteredServletRequest/Response to meter the bandwidth. It seems > I could not use CarbonRequestWrapper because it was not in an OSGI > componen

Re: [Carbon-dev] MeteredServletRequest/Response

2010-07-30 Thread Dimuthu Gamage
Hi, We need the MeteredServletRequest/Response to meter the bandwidth. It seems I could not use CarbonRequestWrapper because it was not in an OSGI component, and the request metering wrapper needed an OSGI service tracker, so I have to write a new wrapper within an OSGI component. The requirement

Re: [Carbon-dev] MeteredServletRequest/Response

2010-07-29 Thread Sumedha Rubasinghe
I was expecting more of a design level answer. ;-) /sumedha On Fri, Jul 30, 2010 at 12:20 PM, Afkham Azeez wrote: > The Carbon level wrapping is used for the following reasons: > > 1. Control session state replication on other app servers > 2. Implement Java Security > > DimuthuG is the best per

Re: [Carbon-dev] MeteredServletRequest/Response

2010-07-29 Thread Afkham Azeez
The Carbon level wrapping is used for the following reasons: 1. Control session state replication on other app servers 2. Implement Java Security DimuthuG is the best person who can answer the metering wrapping. Unfortunately, today is his last day at WSO2. Azeez On Fri, Jul 30, 2010 at 10:49

Re: [Carbon-dev] MeteredServletRequest/Response

2010-07-29 Thread Ruwan Linton
Why do we actually need this wrapping? I think first we need to review what we are trying to do with this wrapping. May be a code review... Thanks, Ruwan Afkham Azeez wrote: > I'm a bit concerned about the multiple layers that wrap the original > HTTP servlet request/response. We have the Equin

Re: [Carbon-dev] MeteredServletRequest/Response

2010-07-29 Thread Afkham Azeez
I'm a bit concerned about the multiple layers that wrap the original HTTP servlet request/response. We have the Equinox wrapper, then the Carbon wrapper, and now metering wrapper. Is the metering wrapper needed? Can't we use the existing Carbon wrapped request/responses? Azeez On Fri, Jul 30, 201

[Carbon-dev] MeteredServletRequest/Response

2010-07-29 Thread Afkham Azeez
Why is the original request/reponse wrapped by these classes? Some JavaDocs explaining the usage of these classes would have helped. Azeez -- Afkham Azeez Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, Lean . Enterprise . Middleware Member; Apache Software Foundation; ht