com.thetransactioncompany.jsonrpc2.client.ConnectionConfigurator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jsonrpc2-client Show documentation
Show all versions of jsonrpc2-client Show documentation
Provides a client-side class for dispatching requests and
notifications to a JSON-RPC 2.0 server. The JSON-RPC 2.0
messages are sent by HTTP(S) POST.
The newest version!
package com.thetransactioncompany.jsonrpc2.client;
import java.net.HttpURLConnection;
/**
* Interface allowing for additional configuration of HTTP URL connections,
* such as setting a custom header.
*
* @since 1.5
* @author Vladimir Dzhuvinov
*/
public interface ConnectionConfigurator {
/**
* Allows for additional configuration of the specified HTTP URL
* connection before it is established. This may include setting a
* custom HTTP header, etc.
*
* @param connection The HTTP URL connection to configure. Must not be
* {@code null}.
*/
void configure(final HttpURLConnection connection);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy