• Post Reply Bookmark Topic Watch Topic
  • New Topic

java.net.HttpURLConnection

 
Aarthy George
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I use java.net.HttpURLConnection when I have firewall setting for the url? I want to check wthether the requested url is available at a particular point of time. But when I have firewall setting for the page to be requested how can I make use of this?
 
pascal betz
Ranch Hand
Posts: 547
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what do you mean by firewall setting ?
 
Aarthy George
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I mean I want to enable firewall client and give the ISA Server configuation for this url connection. How can I do this in Java?
 
Gerardo Tasistro
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you mean you have a proxy between your application and the URL you want to see?
 
Aarthy George
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. I have a proxy between my application and the page I am requesting to connect from my application.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to set the proxy host and port like this:


and possibly set username and password like this:
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!