public class CookieInterceptor extends Object implements ca.uhn.fhir.rest.client.api.IClientInterceptor
This interceptor adds a header resembling the following:
Cookie: [key]=[value]
| Constructor and Description |
|---|
CookieInterceptor(String sessionCookie) |
| Modifier and Type | Method and Description |
|---|---|
void |
interceptRequest(ca.uhn.fhir.rest.client.api.IHttpRequest theRequest) |
void |
interceptResponse(ca.uhn.fhir.rest.client.api.IHttpResponse theResponse) |
public CookieInterceptor(String sessionCookie)
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.