Class CapturingInterceptor
java.lang.Object
ca.uhn.fhir.rest.client.interceptor.CapturingInterceptor
Client interceptor which simply captures request and response objects and stores them so that they can be inspected after a client
call has returned
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Clear the last request and response valuesca.uhn.fhir.rest.client.api.IHttpRequest
ca.uhn.fhir.rest.client.api.IHttpResponse
void
interceptRequest
(ca.uhn.fhir.rest.client.api.IHttpRequest theRequest) void
interceptResponse
(ca.uhn.fhir.rest.client.api.IHttpResponse theResponse)
-
Constructor Details
-
CapturingInterceptor
public CapturingInterceptor()
-
-
Method Details
-
clear
Clear the last request and response values -
getLastRequest
-
getLastResponse
-
interceptRequest
-
interceptResponse
-