public class InitHttpRequestCommand extends AbstractProxyCommand
Command responsible for initializing the HttpRequestBase instance
which is used to invoke the resolved remote target URI,
based on the original request method name and the resolved remote target URI.| Constructor and Description |
|---|
InitHttpRequestCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.http.client.methods.HttpRequestBase |
createHttpRequest(ProxyContext context)
Creates an
HttpRequestBase instance
which is used to invoke the resolved remote target URI. |
protected boolean |
executeInternal(ProxyContext context)
Execute a unit of processing work to be performed.
|
destroy, execute, initializeprotected boolean executeInternal(ProxyContext context) throws ReverseProxyException, IOException
Execute a unit of processing work to be performed. This
AbstractProxyCommand may either complete the required processing
and return true, or delegate remaining processing
to the next AbstractProxyCommand in a ProxyProcessingChain containing this
AbstractProxyCommand by returning false.
executeInternal in class AbstractProxyCommandReverseProxyExceptionIOExceptionprotected org.apache.http.client.methods.HttpRequestBase createHttpRequest(ProxyContext context) throws ReverseProxyException, IOException
HttpRequestBase instance
which is used to invoke the resolved remote target URI.context - ReverseProxyExceptionIOExceptionCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.