package cz.moneta.test.harness.connectors.rest;

/**
 * Response handler which enables response verification and post-processing
 *
 * @param <I> original request invocation (i.e. the request call)
 * @param <RESP> the original response against which the handling is performed
 * @see cz.moneta.test.harness.connectors.wso2.TokenRenewalResponseHandler
 */
public interface ResponseHandler<I, RESP> {
    RESP handle(I invocation, RESP response);
}
