Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #16511

Re: IllegalArgumentException with Socket API and Proxy with Proxy.Type.HTTP

Path csiph.com!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From Knute Johnson <nospam@rabbitbrush.frazmtn.com>
Newsgroups comp.lang.java.programmer
Subject Re: IllegalArgumentException with Socket API and Proxy with Proxy.Type.HTTP
Date Sun, 29 Jul 2012 08:36:35 -0700
Organization A noiseless patient Spider
Lines 12
Message-ID <jv3la5$f52$1@dont-email.me> (permalink)
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-Date Sun, 29 Jul 2012 15:36:38 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="9b3fcb0d22708969e4dc99e7aa0ef1f9"; logging-data="15522"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18HwoRgEzl8GW5rcg/SiEvF"
User-Agent Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0
In-Reply-To <0ac597b5-4afa-4839-88cf-47c91d6f9b8b@googlegroups.com>
Cancel-Lock sha1:Oh948RMX/L3TIzs+a1OXdpg7dGM=
Xref csiph.com comp.lang.java.programmer:16511

Show key headers only | View raw


On 7/26/2012 10:00 AM, 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.  What is the work around?  Does anyone know?  Any help would
> be much appreciated as there doesn't seem to be an answer readily
> available that I can find.
>
> Greg
>

You can set up proxies in the Java Control Panel.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

IllegalArgumentException with Socket API and Proxy with Proxy.Type.HTTP Greg <shireyg@gmail.com> - 2012-07-26 10:00 -0700
  Re: IllegalArgumentException with Socket API and Proxy with Proxy.Type.HTTP Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2012-07-29 08:36 -0700
  Re: IllegalArgumentException with Socket API and Proxy with Proxy.Type.HTTP Steven Simpson <ss@domain.invalid> - 2012-07-30 13:26 +0100
  Re: IllegalArgumentException with Socket API and Proxy with Proxy.Type.HTTP Greg <shireyg@gmail.com> - 2012-08-09 13:40 -0700
    Re: IllegalArgumentException with Socket API and Proxy with Proxy.Type.HTTP Steven Simpson <ss@domain.invalid> - 2012-08-16 21:26 +0100

csiph-web