public class UserInfoInterceptor extends Object implements IClientInterceptor
| Modifier and Type | Field and Description |
|---|---|
static String |
HEADER_APPLICATION_NAME |
static String |
HEADER_USER_ID |
static String |
HEADER_USER_NAME |
| Constructor and Description |
|---|
UserInfoInterceptor(String theUserId,
String theUserName,
String theAppName) |
| Modifier and Type | Method and Description |
|---|---|
void |
interceptRequest(IHttpRequest theRequest)
Fired by the client just before invoking the HTTP client request
|
void |
interceptResponse(IHttpResponse theResponse)
Fired by the client upon receiving an HTTP response, prior to processing that response
|
public static final String HEADER_USER_ID
public static final String HEADER_USER_NAME
public static final String HEADER_APPLICATION_NAME
public UserInfoInterceptor(String theUserId, String theUserName, String theAppName)
public void interceptRequest(IHttpRequest theRequest)
IClientInterceptorinterceptRequest in interface IClientInterceptorpublic void interceptResponse(IHttpResponse theResponse) throws IOException
IClientInterceptorinterceptResponse in interface IClientInterceptorIOExceptionCopyright © 2014–2017 University Health Network. All rights reserved.