How to get Secure non-HttpOnly cookies from CookieHandler

2013-06-14 Thread Vasiliy Baranov
Greetings, Suppose I need to call java.net.CookieHandler.get(URI uri, MapString,ListString requestHeaders) and need to filter out 'HttpOnly' cookies from the result. My understanding is in that case I should call CookieHandler.get with a URI starting with javascript:// or any other non-HTTP

Re: TCP tunneling through authenticating HTTP proxy

2012-10-26 Thread Vasiliy Baranov
://mail.openjdk.java.net/pipermail/net-dev/2010-February/001569.html). Regards Damjan On Thu, Oct 25, 2012 at 5:14 PM, Vasiliy Baranov vasiliy.bara...@oracle.com wrote: Hi Damjan, This looks like exactly what I need. Thank you for sharing! Now perhaps the question is whether this feature can

TCP tunneling through authenticating HTTP proxy

2012-10-25 Thread Vasiliy Baranov
Greetings, And apologies if I am sending this to the wrong list... Suppose I want my code to talk to a TCP server via an HTTP proxy, by setting up a proxy tunnel using the CONNECT method. By any chance, is there a mechanism in the Java SE networking stack that would allow me to do so? A

Re: TCP tunneling through authenticating HTTP proxy

2012-10-25 Thread Vasiliy Baranov
to support both HTTP and SOCKS proxies. Thank you, -- Vasiliy On 25/10/12 14:32, Vasiliy Baranov wrote: Greetings, And apologies if I am sending this to the wrong list... Suppose I want my code to talk to a TCP server via an HTTP proxy, by setting up a proxy tunnel using the CONNECT method. By any

Re: TCP tunneling through authenticating HTTP proxy

2012-10-25 Thread Vasiliy Baranov
is probably SOCKS. Can you use that? - Michael On 25/10/12 14:32, Vasiliy Baranov wrote: Greetings, And apologies if I am sending this to the wrong list... Suppose I want my code to talk to a TCP server via an HTTP proxy, by setting up a proxy tunnel using the CONNECT method. By any chance

Re: Http client API

2012-08-20 Thread Vasiliy Baranov
On 17.08.2012 14:30, Michael McMahon wrote: On 09/08/12 19:15, Chris Hegarty wrote: Michael, Looking good, some comments. 1) Why the use of CookieManager, rather than CookieHandler? I would expect that CookieHandler would be a cleaner API CookieHandler is a very low level API, which