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.UseBasicAuthInterceptorinstead. 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
-
-
Constructor Summary
Constructors Constructor Description HttpBasicAuthInterceptor(String theUsername, String thePassword)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidprocess(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)Deprecated.
-
-
-
Constructor Detail
-
HttpBasicAuthInterceptor
public HttpBasicAuthInterceptor(String theUsername, String thePassword)
Deprecated.
-
-
Method Detail
-
process
public void process(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException, IOException
Deprecated.- Specified by:
processin interfaceorg.apache.http.HttpRequestInterceptor- Throws:
org.apache.http.HttpExceptionIOException
-
-