
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinterceptRequest(ca.uhn.fhir.rest.client.api.IHttpRequest theRequest) voidinterceptResponse(ca.uhn.fhir.rest.client.api.IHttpResponse theResponse)
-
Constructor Details
-
CookieInterceptor
-
-
Method Details
-
interceptRequest
- Specified by:
interceptRequestin interfaceca.uhn.fhir.rest.client.api.IClientInterceptor
-
interceptResponse
- Specified by:
interceptResponsein interfaceca.uhn.fhir.rest.client.api.IClientInterceptor
-