Path: csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Steven Simpson Newsgroups: comp.lang.java.programmer Subject: Re: IllegalArgumentException with Socket API and Proxy with Proxy.Type.HTTP Date: Thu, 16 Aug 2012 21:26:18 +0100 Organization: A noiseless patient Spider Lines: 13 Message-ID: References: <0ac597b5-4afa-4839-88cf-47c91d6f9b8b@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: mx04.eternal-september.org; posting-host="82310ab08bf578f62a5b66a5c4f3702f"; logging-data="24451"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/vkUtaZBXk96drkHp4giJK46zkqDwyrqY=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 In-Reply-To: Cancel-Lock: sha1:061z0Wnrx4S8OKIQOh4EmF2hGBA= Xref: csiph.com comp.lang.java.programmer:17944 On 09/08/12 21:40, Greg wrote: > On Thursday, July 26, 2012 10:00:23 AM UTC-7, Greg wrote: >> I am trying to create a socket with the proxy type of HTTP. Every time the socket is created an IllegalArgumentException is thrown. I have learned from googling that the HTTP proxy is unsupported in sockets. > The code pretty extensively relies on the sockets interface. Can you define 'pretty extensively', i.e. enumerate the methods which are used, and in what sequences? If this is sufficiently simple, and you can modify the code, some refactoring to use your own abstraction of the socket ought to be possible. -- ss at comp dot lancs dot ac dot uk