A B C D E G H I M N O P R S T U 
All Classes All Packages

A

asciiQueryChars - Static variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
 
ATTR_TARGET_HOST - Static variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
 
ATTR_TARGET_URI - Static variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
 

B

buildHttpClient(HttpClientBuilder) - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
Creates a HttpClient from the given builder.
buildProxyCookiePath(HttpServletRequest) - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
Create path for proxy cookie.
buildRequestConfig() - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
Sub-classes can override specific behaviour of RequestConfig.
buildSocketConfig() - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
Sub-classes can override specific behaviour of SocketConfig.

C

closeQuietly(Closeable) - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
 
connectionRequestTimeout - Variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
 
connectTimeout - Variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
 
copyProxyCookie(HttpServletRequest, HttpServletResponse, String) - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
Copy cookie from the proxy to the servlet client.
copyRequestHeader(HttpServletRequest, HttpRequest, String) - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
Copy a request header from the servlet client to the proxy request.
copyRequestHeaders(HttpServletRequest, HttpRequest) - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
Copy request headers from the servlet client to the proxy request.
copyResponseEntity(HttpResponse, HttpServletResponse, HttpRequest, HttpServletRequest) - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
Copy response body data (the entity) from the proxy to the servlet client.
copyResponseHeader(HttpServletRequest, HttpServletResponse, Header) - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
Copy a proxied response header back to the servlet client.
copyResponseHeaders(HttpResponse, HttpServletRequest, HttpServletResponse) - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
Copy proxied response headers back to the servlet client.
createHttpClient() - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
Called from GenericServlet.init(javax.servlet.ServletConfig).
createProxyCookie(HttpServletRequest, HttpCookie) - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
Creates a proxy cookie from the original cookie.

D

destroy() - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
 
doExecute(HttpServletRequest, HttpServletResponse, HttpRequest) - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
 
doForwardIP - Variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
 
doHandleCompression - Variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
 
doHandleRedirects - Variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
 
doLog - Variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
 
doPreserveCookies - Variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
 
doPreserveHost - Variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
 
doSendUrlFragment - Variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
User agents shouldn't send the url fragment but what if it does?

E

encodeUriQuery(CharSequence, boolean) - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
Encodes characters in the query or fragment part of the URI.

G

getConfigParam(String) - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
Reads a configuration parameter.
getCookieNamePrefix(String) - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
The string prefixing rewritten cookies.
getHttpClientBuilder() - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
Creates a HttpClientBuilder.
getProxyClient() - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
The http client used.
getProxyCookieName(HttpCookie) - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
Set cookie name prefixed with a proxy value so it won't collide with other cookies.
getRealCookie(String) - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
Take any client cookies that were originally from the proxy and prepare them to send to the proxy.
getServletInfo() - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
 
getTargetHost(HttpServletRequest) - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
 
getTargetUri() - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
The target URI as configured.
getTargetUri(HttpServletRequest) - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
 

H

handleRequestException(HttpRequest, HttpResponse, Exception) - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
 
hopByHopHeaders - Static variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
These are the "hop-by-hop" headers that should not be copied.

I

init() - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
 
initTarget() - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
 
initTarget() - Method in class org.mitre.dsmiley.httpproxy.URITemplateProxyServlet
 

M

maxConnections - Variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
 

N

newProxyRequestWithEntity(String, String, HttpServletRequest) - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
 

O

org.mitre.dsmiley.httpproxy - package org.mitre.dsmiley.httpproxy
 

P

P_CONNECTIONREQUESTTIMEOUT - Static variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
An integer parameter name to set the connection request timeout (millis)
P_CONNECTTIMEOUT - Static variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
An integer parameter name to set the socket connection timeout (millis)
P_FORWARDEDFOR - Static variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
A boolean parameter name to enable forwarding of the client IP
P_HANDLECOMPRESSION - Static variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
A boolean parameter to enable handling of compression in the servlet.
P_HANDLEREDIRECTS - Static variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
A boolean parameter name to have auto-handle redirects
P_LOG - Static variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
A boolean parameter name to enable logging of input and target URLs to the servlet log.
P_MAXCONNECTIONS - Static variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
An integer parameter name to set max connection number
P_PRESERVECOOKIES - Static variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
A boolean parameter name to keep COOKIES as-is
P_PRESERVEHOST - Static variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
A boolean parameter name to keep HOST parameter as-is
P_READTIMEOUT - Static variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
An integer parameter name to set the socket read timeout (millis)
P_TARGET_URI - Static variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
The parameter name for the target (destination) URI to proxy to.
P_USESYSTEMPROPERTIES - Static variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
A boolean parameter whether to use JVM-defined system properties to configure various networking aspects.
ProxyServlet - Class in org.mitre.dsmiley.httpproxy
An HTTP reverse proxy/gateway servlet.
ProxyServlet() - Constructor for class org.mitre.dsmiley.httpproxy.ProxyServlet
 

R

readTimeout - Variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
 
rewritePathInfoFromRequest(HttpServletRequest) - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
Allow overrides of HttpServletRequest.getPathInfo().
rewriteQueryStringFromRequest(HttpServletRequest, String) - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
 
rewriteQueryStringFromRequest(HttpServletRequest, String) - Method in class org.mitre.dsmiley.httpproxy.URITemplateProxyServlet
 
rewriteUrlFromRequest(HttpServletRequest) - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
Reads the request URI from servletRequest and rewrites it, considering targetUri.
rewriteUrlFromResponse(HttpServletRequest, String) - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
For a redirect response from the target server, this translates theUrl to redirect to and translates it to one the original client can use.

S

service(HttpServletRequest, HttpServletResponse) - Method in class org.mitre.dsmiley.httpproxy.ProxyServlet
 
service(HttpServletRequest, HttpServletResponse) - Method in class org.mitre.dsmiley.httpproxy.URITemplateProxyServlet
 

T

targetHost - Variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
 
targetUri - Variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
From the configured parameter "targetUri".
targetUriObj - Variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
 
targetUriTemplate - Variable in class org.mitre.dsmiley.httpproxy.URITemplateProxyServlet
 
TEMPLATE_PATTERN - Static variable in class org.mitre.dsmiley.httpproxy.URITemplateProxyServlet
 

U

URITemplateProxyServlet - Class in org.mitre.dsmiley.httpproxy
A proxy servlet in which the target URI is templated from incoming request parameters.
URITemplateProxyServlet() - Constructor for class org.mitre.dsmiley.httpproxy.URITemplateProxyServlet
 
useSystemProperties - Variable in class org.mitre.dsmiley.httpproxy.ProxyServlet
 
A B C D E G H I M N O P R S T U 
All Classes All Packages