Java Servlet Proxy -


if set system use proxy in dopost method of servlet out going connections in method go through proxy? example:

    protected void dopost(httpservletrequest request,             httpservletresponse response) throws servletexception, ioexception {  system.setproperty("http.proxyhost", "myproxyserver.com"); system.setproperty("http.proxyport", "80");    connecting third party here.  } 


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -