public class BasicAuthInterceptor extends Object implements IClientInterceptor
See the HAPI Documentation for information on how to use this class.
| Constructor and Description |
|---|
BasicAuthInterceptor(String theUsername,
String thePassword) |
| Modifier and Type | Method and Description |
|---|---|
void |
interceptRequest(org.apache.http.client.methods.HttpRequestBase theRequest)
Fired by the client just before invoking the HTTP client request
|
void |
interceptResponse(org.apache.http.HttpResponse theResponse)
Fired by the client upon receiving an HTTP response, prior to processing that response
|
public BasicAuthInterceptor(String theUsername, String thePassword)
public void interceptRequest(org.apache.http.client.methods.HttpRequestBase theRequest)
IClientInterceptorinterceptRequest in interface IClientInterceptorpublic void interceptResponse(org.apache.http.HttpResponse theResponse) throws IOException
IClientInterceptorinterceptResponse in interface IClientInterceptorIOExceptionCopyright © 2014–2016 University Health Network. All rights reserved.