That should do the trick - I'm just looking for a way to know that a
particular request's bytes etc. can now be written to the connection,
mainly as a diagnostic thing - I don't intend to mess with the raw
socket in any way - I'll give that interceptor a shot. Thanks very
much for your help.
John.

>
> HttpClient intentionally does not provide an easy way of getting access to 
> the underlying sockets in order to ensure sockets are not modified in some 
> way that would render them non-reusable without the framework detecting that. 
> One can still add a custom request interceptor in order to get access to the 
> HTTP connection obtained from the connection manager to execute the request 
> and get hold of the network socket by calling
>
> http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/impl/conn/DefaultClientConnection.html#getSocket%28%29
>
> Hope this helps
>
> Oleg
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to