public class HttpProxyRequestHandler
extends org.springframework.web.servlet.support.WebContentGenerator
implements org.springframework.web.HttpRequestHandler
HttpProxy, determined by the {proxyName} URI template var.| Modifier and Type | Field and Description |
|---|---|
static String |
PROXY_NAME_URI_TEMPLATE_VAR_NAME |
| Constructor and Description |
|---|
HttpProxyRequestHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getProxyNameUriTemplateVar(javax.servlet.http.HttpServletRequest request) |
protected String |
getUrlToProxy(javax.servlet.http.HttpServletRequest request) |
void |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
setProxyRegistry(HttpProxyRegistry proxyRegistry) |
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeadergetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextpublic static String PROXY_NAME_URI_TEMPLATE_VAR_NAME
public void setProxyRegistry(HttpProxyRegistry proxyRegistry)
public void handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
handleRequest in interface org.springframework.web.HttpRequestHandlerjavax.servlet.ServletExceptionIOExceptionprotected String getProxyNameUriTemplateVar(javax.servlet.http.HttpServletRequest request)
protected String getUrlToProxy(javax.servlet.http.HttpServletRequest request)
Copyright © 2014 CrafterCMS. All Rights Reserved.