public class HttpBasicAuthLogicHandler extends AbstractAuthLogicHandler
proxyIoSession, request, step
Constructor and Description |
---|
HttpBasicAuthLogicHandler(ProxyIoSession proxyIoSession) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
createAuthorization(java.lang.String username,
java.lang.String password)
Computes authorization header value.
|
void |
doHandshake(IoFilter.NextFilter nextFilter)
Called on each step of the handshaking process.
|
void |
handleResponse(HttpProxyResponse response)
Handles a HTTP response from the proxy server.
|
writeRequest
public HttpBasicAuthLogicHandler(ProxyIoSession proxyIoSession) throws ProxyAuthException
ProxyAuthException
public void doHandshake(IoFilter.NextFilter nextFilter) throws ProxyAuthException
AbstractAuthLogicHandler
doHandshake
in class AbstractAuthLogicHandler
ProxyAuthException
public static java.lang.String createAuthorization(java.lang.String username, java.lang.String password)
public void handleResponse(HttpProxyResponse response) throws ProxyAuthException
AbstractAuthLogicHandler
handleResponse
in class AbstractAuthLogicHandler
response
- The response.ProxyAuthException
Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.