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) |
void |
interceptResponse(IHttpResponse theResponse) |
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)
interceptRequest in interface IClientInterceptorpublic void interceptResponse(IHttpResponse theResponse) throws IOException
interceptResponse in interface IClientInterceptorIOExceptionCopyright © 2014–2018 University Health Network. All rights reserved.