On Thu, 2012-01-05 at 15:59 -0500, William Speirs wrote:
> I haven't done this type of thing in a while, but basically you have
> the reference to the HttpClient created by the SessionListener and
> then destroyed (shutdown) by it as well. If a request comes in that
> needs the client it simple get
On Thu, 2012-01-05 at 15:23 +0200, Іван Лаппо wrote:
> I tested DefaultHttpAsyncClient on performing instantly growing number of
> requests per minute. It works pretty well before it reaches some point,
> after which client changes behavior. Number of requests executed per minute
> dramatically dec
I haven't done this type of thing in a while, but basically you have
the reference to the HttpClient created by the SessionListener and
then destroyed (shutdown) by it as well. If a request comes in that
needs the client it simple gets it from the session and uses it.
http://docs.oracle.com/javaee
How can you make a session listener for HttpClient?
On Thu, Jan 5, 2012 at 5:00 PM, William Speirs wrote:
> Could you setup a session listener and call create/shutdown there?
>
> Bill-
>
> On Thu, Jan 5, 2012 at 8:31 AM, Amon wrote:
> >
> > Hi all,
> >
> > I have a question concerning the use o
Could you setup a session listener and call create/shutdown there?
Bill-
On Thu, Jan 5, 2012 at 8:31 AM, Amon wrote:
>
> Hi all,
>
> I have a question concerning the use of HTTPClient 4 inside a JSP Tag
>
> It's about the creation of the DefaultHttpClient object and how to shutdown
> the Connec
Hi all,
I have a question concerning the use of HTTPClient 4 inside a JSP Tag
It's about the creation of the DefaultHttpClient object and how to shutdown the
ConnectionManager() inside a tag.
Currently i am creating a DefaultHttpClient object and shutting it down for
each request to the JSP T
I tested DefaultHttpAsyncClient on performing instantly growing number of
requests per minute. It works pretty well before it reaches some point,
after which client changes behavior. Number of requests executed per minute
dramatically decrease, and average response time grow up. In Statistics.txt
-
On 5 January 2012 06:41, Sreejith S wrote:
> 2012-01-04 11:12:15 wire [DEBUG] << "Keep-Alive: timeout=15,
> max=100[\r][\n]"
> 2012-01-04 11:12:15 wire [DEBUG] << "Connection: Keep-Alive[\r][\n]"
>
> Here DefaultHttpClient [DEBUG] Connection can be kept alive for 15000
> MILLISECONDS . Is this d