001package com.thetransactioncompany.jsonrpc2.client; 002 003 004/** 005 * Interface allowing for inspection of the raw HTTP response to a JSON-RPC 2.0 006 * request or notification. Can be used to retrieve the unparsed response 007 * content and headers. 008 * 009 * @since 1.6 010 * @author Vladimir Dzhuvinov 011 */ 012public interface RawResponseInspector { 013 014 015 /** 016 * Allows for inspection of the specified raw HTTP response to a JSON-RPC 017 * 2.0 request or nofitication. 018 * 019 * @param rawResponse The raw HTTP response. Must not be {@code null}. 020 */ 021 public void inspect(final RawResponse rawResponse); 022 023}