public class DefaultAccelUriManager extends Object implements AccelUriManager, ContainerConfig.ConfigObserver
CONTAINER, PROXY_HOST_PARAM, PROXY_PATH_PARAM| Constructor and Description |
|---|
DefaultAccelUriManager(ContainerConfig config,
ProxyUriManager proxyUriManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
containersChanged(ContainerConfig config,
Collection<String> changed,
Collection<String> removed) |
protected boolean |
looksLikeAccelUri(Uri requestUri)
Is the given uri looks like a valid accel uri.
|
Uri |
parseAndNormalize(HttpRequest httpRequest)
Parses and normalizes the given request uri to be proxied through accel.
|
@Inject public DefaultAccelUriManager(ContainerConfig config, ProxyUriManager proxyUriManager)
public void containersChanged(ContainerConfig config, Collection<String> changed, Collection<String> removed)
containersChanged in interface ContainerConfig.ConfigObserverpublic Uri parseAndNormalize(HttpRequest httpRequest) throws GadgetException
AccelUriManagerparseAndNormalize in interface AccelUriManagerhttpRequest - The http request.GadgetException - In case of errors.protected boolean looksLikeAccelUri(Uri requestUri)
requestUri - The uri to check.Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.