Package ca.uhn.fhir.rest.client.api
Interface IClientInterceptor
public interface IClientInterceptor
This interface represents an interceptor which can be used to access (and optionally change or take actions upon)
requests that are being sent by the HTTP client, and responses received by it.
See the HAPI Documentation Client Interceptor page for more information on how to use this feature.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
interceptRequest
(IHttpRequest theRequest) Fired by the client just before invoking the HTTP client requestvoid
interceptResponse
(IHttpResponse theResponse) Fired by the client upon receiving an HTTP response, prior to processing that response
-
Method Details
-
interceptRequest
Fired by the client just before invoking the HTTP client request -
interceptResponse
Fired by the client upon receiving an HTTP response, prior to processing that response- Throws:
IOException
-