public class ResolveRemoteURICommand extends AbstractProxyCommand
Command
responsible for resolving the remote target URI
from the local request path info and the resolved ProxyMapping
.Constructor and Description |
---|
ResolveRemoteURICommand() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
executeInternal(ProxyContext context)
Execute a unit of processing work to be performed.
|
protected String |
getDefaultScheme(ProxyContext context)
Finds the default scheme ("http" or "https") when a scheme-less remote URI was requested.
|
URICleaner |
getUriCleaner()
Returns the internal
URICleaner . |
void |
setUriCleaner(URICleaner uriCleaner)
Sets the internal
URICleaner . |
destroy, execute, initialize
protected 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 AbstractProxyCommand
ReverseProxyException
IOException
public URICleaner getUriCleaner()
URICleaner
.public void setUriCleaner(URICleaner uriCleaner)
URICleaner
.uriCleaner
- protected String getDefaultScheme(ProxyContext context)
context
- Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.