BasicAuthInterceptor instead. Note that BasicAuthInterceptor class is a HAPI client interceptor instead of being a commons-httpclient interceptor, so you register it to your client instance once it's created using IGenericClient.registerInterceptor(IClientInterceptor) or IRestfulClient.registerInterceptor(IClientInterceptor) instead@Deprecated public class HttpBasicAuthInterceptor extends Object implements org.apache.http.HttpRequestInterceptor
| Constructor and Description |
|---|
HttpBasicAuthInterceptor(String theUsername,
String thePassword)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
process(org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context)
Deprecated.
|
public HttpBasicAuthInterceptor(String theUsername, String thePassword)
public void process(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException, IOException
process in interface org.apache.http.HttpRequestInterceptororg.apache.http.HttpExceptionIOExceptionCopyright © 2014–2019 University Health Network. All rights reserved.