Class CapturingInterceptor

java.lang.Object
ca.uhn.fhir.rest.client.interceptor.CapturingInterceptor

public class CapturingInterceptor extends Object
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 Details

  • Method Details

    • clear

      public void clear()
      Clear the last request and response values
    • getLastRequest

      public ca.uhn.fhir.rest.client.api.IHttpRequest getLastRequest()
    • getLastResponse

      public ca.uhn.fhir.rest.client.api.IHttpResponse getLastResponse()
    • interceptRequest

      public void interceptRequest(ca.uhn.fhir.rest.client.api.IHttpRequest theRequest)
    • interceptResponse

      public void interceptResponse(ca.uhn.fhir.rest.client.api.IHttpResponse theResponse)