com.thetransactioncompany.jsonrpc2.client
Interface ConnectionConfigurator
public interface ConnectionConfigurator
Interface allowing for additional configuration of HTTP URL connections,
such as setting a custom header.
- Since:
- 1.5
- Author:
- Vladimir Dzhuvinov
Method Summary |
void |
configure(HttpURLConnection connection)
Allows for additional configuration of the specified HTTP URL
connection before it is established. |
configure
void configure(HttpURLConnection connection)
- Allows for additional configuration of the specified HTTP URL
connection before it is established. This may include setting a
custom HTTP header, detc.
- Parameters:
connection
- The HTTP URL connection to configure. Must not be
null
.
Copyright © 2013 The Transaction Company. All Rights Reserved.