hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <ossf...@dubioso.net>
Subject Re: Set Session Attribute?
Date Fri, 31 Aug 2007 17:30:26 GMT
dhay@lexmark.com wrote:
> One of them relies on a session attribute having being set.  I'm having 
> problems figuring out how to do this? When we were mocking things, we
> used Spring's MockHTTPServletRequest and could call 
> getSession().setAttribute() on it.

ServletRequest is on the server.
HttpClient is on a client.

> How can I do this with HTTPClient?

You can't. Write servlet initialization code.

Is there something I am missing?

cheers,
  Roland


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message