Setting the URL

Top  Previous  Next

To set the URL of an HTTP request construct a new HttpRequest instance providing the URL to the constructor. Alternatively you may invoke the HttpRequest#setURL method.

 

Example

 

// create new HttpRequest

HttpRequest request = new HttpRequest("http://www.myserver.com");





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC