public class CapturingInterceptor extends Object implements ca.uhn.fhir.rest.client.api.IClientInterceptor
| Constructor and Description |
|---|
CapturingInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear the last request and response values
|
ca.uhn.fhir.rest.client.api.IHttpRequest |
getLastRequest() |
ca.uhn.fhir.rest.client.api.IHttpResponse |
getLastResponse() |
void |
interceptRequest(ca.uhn.fhir.rest.client.api.IHttpRequest theRequest) |
void |
interceptResponse(ca.uhn.fhir.rest.client.api.IHttpResponse theResponse) |
public CapturingInterceptor()
public void clear()
public ca.uhn.fhir.rest.client.api.IHttpRequest getLastRequest()
public ca.uhn.fhir.rest.client.api.IHttpResponse getLastResponse()
public void interceptRequest(ca.uhn.fhir.rest.client.api.IHttpRequest theRequest)
interceptRequest in interface ca.uhn.fhir.rest.client.api.IClientInterceptorpublic void interceptResponse(ca.uhn.fhir.rest.client.api.IHttpResponse theResponse)
interceptResponse in interface ca.uhn.fhir.rest.client.api.IClientInterceptorCopyright © 2014–2019 University Health Network. All rights reserved.