public class CookieInterceptor extends Object implements 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(IHttpRequest theRequest) |
void |
interceptResponse(IHttpResponse theResponse) |
public CookieInterceptor(String sessionCookie)
public void interceptRequest(IHttpRequest theRequest)
interceptRequest in interface IClientInterceptorpublic void interceptResponse(IHttpResponse theResponse)
interceptResponse in interface IClientInterceptorCopyright © 2014–2018 University Health Network. All rights reserved.