public class HttpBasicAuthInterceptor
extends java.lang.Object
implements org.apache.http.HttpRequestInterceptor
| Constructor and Description |
|---|
HttpBasicAuthInterceptor(java.lang.String username,
java.lang.String password) |
| Modifier and Type | Method and Description |
|---|---|
void |
process(org.apache.http.HttpRequest httpRequest,
org.apache.http.protocol.HttpContext httpContext) |
public HttpBasicAuthInterceptor(java.lang.String username,
java.lang.String password)
public void process(org.apache.http.HttpRequest httpRequest,
org.apache.http.protocol.HttpContext httpContext)
throws org.apache.http.HttpException,
java.io.IOException
process in interface org.apache.http.HttpRequestInterceptororg.apache.http.HttpExceptionjava.io.IOExceptionCopyright © 2012 The Apache Software Foundation