ar.com.fernandospr.wns.client
Class ProxyEnabledConnectionFactory

java.lang.Object
  extended by ar.com.fernandospr.wns.client.ProxyEnabledConnectionFactory
All Implemented Interfaces:
org.glassfish.jersey.client.HttpUrlConnectorProvider.ConnectionFactory

public class ProxyEnabledConnectionFactory
extends Object
implements org.glassfish.jersey.client.HttpUrlConnectorProvider.ConnectionFactory


Constructor Summary
ProxyEnabledConnectionFactory(String proxy, int port)
           
 
Method Summary
 HttpURLConnection getConnection(URL url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyEnabledConnectionFactory

public ProxyEnabledConnectionFactory(String proxy,
                                     int port)
Method Detail

getConnection

public HttpURLConnection getConnection(URL url)
                                throws IOException
Specified by:
getConnection in interface org.glassfish.jersey.client.HttpUrlConnectorProvider.ConnectionFactory
Throws:
IOException


Copyright © 2016. All Rights Reserved.