com.thetransactioncompany.jsonrpc2.client
Interface ConnectionConfigurator


public interface ConnectionConfigurator

Interface allowing for additional configuration of HTTP URL connections, such as setting custom headers or timeouts.

Since:
1.5
Version:
1.7 (2011-07-18)
Author:
Vladimir Dzhuvinov

Method Summary
 void configure(java.net.HttpURLConnection connection)
          Allows for additional configuration of the specified HTTP URL connection before it is established.
 

Method Detail

configure

void configure(java.net.HttpURLConnection connection)
Allows for additional configuration of the specified HTTP URL connection before it is established. This may include setting of custom HTTP headers, request and read timeouts, etc.

Parameters:
connection - The HTTP URL connection to configure.


Copyright © 2010 - 2012 Vladimir Dzhuvinov. All Rights Reserved.