All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.thetransactioncompany.jsonrpc2.client.RawResponseInspector Maven / Gradle / Ivy

Go to download

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;


/**
 * Interface allowing for inspection of the raw HTTP response to a JSON-RPC 2.0
 * request or notification. Can be used to retrieve the unparsed response 
 * content and headers.
 *
 * @since 1.6
 * @author Vladimir Dzhuvinov
 */
public interface RawResponseInspector {


	/**
	 * Allows for inspection of the specified raw HTTP response to a JSON-RPC
	 * 2.0 request or nofitication.
	 *
	 * @param rawResponse The raw HTTP response. Must not be {@code null}.
	 */
        void inspect(final RawResponse rawResponse);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy