public class DefaultAccelUriManager extends Object implements AccelUriManager
CONTAINER, PROXY_HOST_PARAM, PROXY_PATH_PARAM| Constructor and Description |
|---|
DefaultAccelUriManager(ContainerConfig config,
ProxyUriManager proxyUriManager) |
| Modifier and Type | Method and Description |
|---|---|
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 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-2012. All Rights Reserved.