
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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 Detail
-
interceptRequest
void interceptRequest(IHttpRequest theRequest)
Fired by the client just before invoking the HTTP client request
-
interceptResponse
void interceptResponse(IHttpResponse theResponse) throws IOException
Fired by the client upon receiving an HTTP response, prior to processing that response- Throws:
IOException
-
-