Class CookieInterceptor
java.lang.Object
ca.uhn.fhir.rest.client.interceptor.CookieInterceptor
- All Implemented Interfaces:
ca.uhn.fhir.rest.client.api.IClientInterceptor
public class CookieInterceptor
extends Object
implements ca.uhn.fhir.rest.client.api.IClientInterceptor
HTTP interceptor to be used for adding Cookie to requests.
This interceptor adds a header resembling the following:
Cookie: [key]=[value]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
interceptRequest
(ca.uhn.fhir.rest.client.api.IHttpRequest theRequest) void
interceptResponse
(ca.uhn.fhir.rest.client.api.IHttpResponse theResponse)
-
Constructor Details
-
CookieInterceptor
-
-
Method Details
-
interceptRequest
- Specified by:
interceptRequest
in interfaceca.uhn.fhir.rest.client.api.IClientInterceptor
-
interceptResponse
- Specified by:
interceptResponse
in interfaceca.uhn.fhir.rest.client.api.IClientInterceptor
-