Class HeaderInjectionInterceptor
- java.lang.Object
-
- org.opencds.cqf.cql.engine.fhir.terminology.HeaderInjectionInterceptor
-
- All Implemented Interfaces:
ca.uhn.fhir.rest.client.api.IClientInterceptor
public class HeaderInjectionInterceptor extends Object implements ca.uhn.fhir.rest.client.api.IClientInterceptor
-
-
Constructor Summary
Constructors Constructor Description HeaderInjectionInterceptor(String headerKey, String headerValue)Instantiates a new header injection interception.HeaderInjectionInterceptor(HashMap<String,String> headers)Instantiates a new header injection interception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinterceptRequest(ca.uhn.fhir.rest.client.api.IHttpRequest theRequest)voidinterceptResponse(ca.uhn.fhir.rest.client.api.IHttpResponse theResponse)
-
-
-
Method Detail
-
interceptRequest
public void interceptRequest(ca.uhn.fhir.rest.client.api.IHttpRequest theRequest)
- Specified by:
interceptRequestin interfaceca.uhn.fhir.rest.client.api.IClientInterceptor
-
interceptResponse
public void interceptResponse(ca.uhn.fhir.rest.client.api.IHttpResponse theResponse) throws IOException- Specified by:
interceptResponsein interfaceca.uhn.fhir.rest.client.api.IClientInterceptor- Throws:
IOException
-
-