public class UserInfoInterceptor extends Object implements ca.uhn.fhir.rest.client.api.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(ca.uhn.fhir.rest.client.api.IHttpRequest theRequest) |
void |
interceptResponse(ca.uhn.fhir.rest.client.api.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(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) throws IOException
interceptResponse in interface ca.uhn.fhir.rest.client.api.IClientInterceptorIOExceptionCopyright © 2014–2019 University Health Network. All rights reserved.