public abstract class AbstractResponseResolver extends Object implements ResponseResolver
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractResponseResolver(ResolverConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
protected Authenticator |
getAuthenticator() |
protected ResolverConfiguration |
getConfiguration() |
protected ProxyAuthenticator |
getProxyAuthenticator() |
protected ResponseCreator |
getResponseCreator() |
HTTPResponse |
resolve(HTTPRequest request)
Resolves the given request into a response.
|
protected abstract HTTPResponse |
resolveImpl(HTTPRequest request) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshutdownprotected AbstractResponseResolver(ResolverConfiguration configuration)
protected final ProxyAuthenticator getProxyAuthenticator()
protected ResponseCreator getResponseCreator()
protected final Authenticator getAuthenticator()
protected final ResolverConfiguration getConfiguration()
public final HTTPResponse resolve(HTTPRequest request) throws IOException
ResponseResolverresolve in interface ResponseResolverrequest - the request to resolve.IOException - if an IOException occurs e.g: java.net.ConnectException.protected abstract HTTPResponse resolveImpl(HTTPRequest request) throws IOException
IOExceptionCopyright © 2008-2013. All Rights Reserved.