public class ConfigAwareProxyServlet
extends org.mitre.dsmiley.httpproxy.ProxyServlet
ProxyServlet that uses the current site configuration| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_TARGET_HOST |
static String |
ATTR_TARGET_URI |
asciiQueryChars, connectionRequestTimeout, connectTimeout, doForwardIP, doHandleCompression, doHandleRedirects, doLog, doPreserveCookies, doPreserveHost, doSendUrlFragment, hopByHopHeaders, maxConnections, P_CONNECTIONREQUESTTIMEOUT, P_CONNECTTIMEOUT, P_FORWARDEDFOR, P_HANDLECOMPRESSION, P_HANDLEREDIRECTS, P_LOG, P_MAXCONNECTIONS, P_PRESERVECOOKIES, P_PRESERVEHOST, P_READTIMEOUT, P_TARGET_URI, P_USESYSTEMPROPERTIES, readTimeout, targetHost, targetUri, targetUriObj, useSystemProperties| Constructor and Description |
|---|
ConfigAwareProxyServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initTarget() |
protected org.apache.http.HttpRequest |
newProxyRequestWithEntity(String method,
String proxyRequestUri,
javax.servlet.http.HttpServletRequest request) |
buildHttpClient, buildProxyCookiePath, buildRequestConfig, buildSocketConfig, closeQuietly, copyProxyCookie, copyRequestHeader, copyRequestHeaders, copyResponseEntity, copyResponseHeader, copyResponseHeaders, createHttpClient, createProxyCookie, destroy, doExecute, encodeUriQuery, getConfigParam, getCookieNamePrefix, getHttpClientBuilder, getProxyClient, getProxyCookieName, getRealCookie, getServletInfo, getTargetHost, getTargetUri, getTargetUri, handleRequestException, init, rewritePathInfoFromRequest, rewriteQueryStringFromRequest, rewriteUrlFromRequest, rewriteUrlFromResponse, servicedoDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicepublic static final String ATTR_TARGET_URI
public static final String ATTR_TARGET_HOST
protected void initTarget()
initTarget in class org.mitre.dsmiley.httpproxy.ProxyServletprotected org.apache.http.HttpRequest newProxyRequestWithEntity(String method, String proxyRequestUri, javax.servlet.http.HttpServletRequest request) throws IOException
newProxyRequestWithEntity in class org.mitre.dsmiley.httpproxy.ProxyServletIOExceptionCopyright © 2023 CrafterCMS. All rights reserved.