Interface InterceptedRequest

All Superinterfaces:
BaseRequest
All Known Subinterfaces:
InterceptedWebRequest

public interface InterceptedRequest extends BaseRequest

An intercepted request is exposed in the InterceptedExchange to proxy the original request that is about to be sent to the endpoint and the actual request after it has been sent to the endpoint.

Once the request has been sent to the endpoint it is no longer possible to modify the intercepted request resulting in IllegalStateException on such operations.

Since:
1.6
Author:
Jeremy Kuhn
See Also: