Package ca.uhn.fhir.rest.client.impl
Class HttpBasicAuthInterceptor
java.lang.Object
ca.uhn.fhir.rest.client.impl.HttpBasicAuthInterceptor
- All Implemented Interfaces:
org.apache.http.HttpRequestInterceptor
@Deprecated
public class HttpBasicAuthInterceptor
extends Object
implements org.apache.http.HttpRequestInterceptor
Deprecated.
-
Constructor Summary
ConstructorsConstructorDescriptionHttpBasicAuthInterceptor(String theUsername, String thePassword)Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)Deprecated.
-
Constructor Details
-
HttpBasicAuthInterceptor
Deprecated.
-
-
Method Details
-
process
public void process(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException, IOExceptionDeprecated.- Specified by:
processin interfaceorg.apache.http.HttpRequestInterceptor- Throws:
org.apache.http.HttpExceptionIOException
-
BasicAuthInterceptorinstead. 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 usingIGenericClient.registerInterceptor(IClientInterceptor)orIRestfulClient.registerInterceptor(IClientInterceptor)instead