- GenericReverseProxyFilter - Class in org.apache.portals.applications.webcontent2.proxy.filter
-
- GenericReverseProxyFilter() - Constructor for class org.apache.portals.applications.webcontent2.proxy.filter.GenericReverseProxyFilter
-
Zero-argument default constructor.
- GenericReverseProxyServlet - Class in org.apache.portals.applications.webcontent2.proxy.servlet
-
- GenericReverseProxyServlet() - Constructor for class org.apache.portals.applications.webcontent2.proxy.servlet.GenericReverseProxyServlet
-
Zero-constructor default constructor.
- getAllProxyCommands() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ProxyProcessingChain
-
Return a list including all the descendant Commands,
type of which is AbstractProxyCommand
in this proxy processing chain.
- getAttribute(String) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.AbstractProxyMapping
-
Returns the value of the named attribute as an Object,
or null if no attribute of the given name exists.
- getAttribute(String) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ServletRequestContext
-
Returns the value of the named attribute as an Object, or null if no attribute of the given name exists.
- getAttribute(String) - Method in interface org.apache.portals.applications.webcontent2.proxy.ProxyMapping
-
Returns the value of the named attribute as an Object,
or null if no attribute of the given name exists.
- getAttribute(String) - Method in interface org.apache.portals.applications.webcontent2.proxy.RequestContext
-
Returns the value of the named attribute as an Object, or null if no attribute of the given name exists.
- getAttributesMap() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.AbstractProxyMapping
-
Returns a Map containing the attributes available.
- getAttributesMap() - Method in interface org.apache.portals.applications.webcontent2.proxy.ProxyMapping
-
Returns a Map containing the attributes available.
- getCommand(int) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ProxyProcessingChain
-
Finds and returns the Command at the given index of the Command list.
- getCommandCount() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ProxyProcessingChain
-
Return the size of the internal Command list.
- getCommandIndex(Command) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ProxyProcessingChain
-
Return the index of the given Command in the command list.
- getCommandIndex(Class<? extends Command>) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ProxyProcessingChain
-
Return the index of the given class type of Command in the command list.
- getContentRewriter(String) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.AbstractProxyMapping
-
- getContentRewriter() - Method in class org.apache.portals.applications.webcontent2.proxy.ProxyContext
-
Returns the
ContentRewriter instance used in the current reverse proxy processing context.
- getContentRewriter(String) - Method in interface org.apache.portals.applications.webcontent2.proxy.ProxyMapping
-
- getContentRewriters() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.AbstractProxyMapping
-
Returns an unmodifiable map of the internal content rewriters.
- getContextPath(HttpServletRequest) - Static method in class org.apache.portals.applications.webcontent2.proxy.util.RequestUtils
-
Finds and returns the servlet context path in the following order.
- getCookieStore() - Method in class org.apache.portals.applications.webcontent2.proxy.ProxyContext
-
Returns the CookieStore instance used in this reverse proxy processing context.
- getCurrentProxyContext() - Static method in class org.apache.portals.applications.webcontent2.proxy.ProxyContext
-
Returns the current ProxyContext instance in the static thread local variable.
- getDefaultCharacterEncoding() - Method in class org.apache.portals.applications.webcontent2.proxy.command.SerializeHttpEntityContentCommand
-
Returns the default character encoding to be used when serializing content to response.
- getDefaultScheme(ProxyContext) - Method in class org.apache.portals.applications.webcontent2.proxy.command.ResolveRemoteURICommand
-
Finds the default scheme ("http" or "https") when a scheme-less remote URI was requested.
- getExceptions() - Method in class org.apache.portals.applications.webcontent2.proxy.ProxyContext
-
Returns a list of exception(s) caught during the current reverse proxy processing.
- getFilterConfig() - Method in class org.apache.portals.applications.webcontent2.proxy.filter.GenericReverseProxyFilter
-
Returns the FilterConfig of this servlet filter.
- getFilterPath() - Method in class org.apache.portals.applications.webcontent2.proxy.filter.GenericReverseProxyFilter
-
Returns the servlet filter mapping path prefix.
- getHeader(String) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ServletRequestContext
-
Returns the value of the specified request header as a String.
- getHeader(String) - Method in interface org.apache.portals.applications.webcontent2.proxy.RequestContext
-
Returns the value of the specified request header as a String.
- getHeaderNames() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ServletRequestContext
-
Returns an enumeration of all the header names this request contains.
- getHeaderNames() - Method in interface org.apache.portals.applications.webcontent2.proxy.RequestContext
-
Returns an enumeration of all the header names this request contains.
- getHeaders(String) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ServletRequestContext
-
Returns all the values of the specified request header as an Enumeration of String objects.
- getHeaders(String) - Method in interface org.apache.portals.applications.webcontent2.proxy.RequestContext
-
Returns all the values of the specified request header as an Enumeration of String objects.
- getHostHeaderValue() - Method in class org.apache.portals.applications.webcontent2.proxy.command.AddHeadersToResponseCommand
-
Returns the custom specific "Host" HTTP header value.
- getHostnameVerifier() - Method in class org.apache.portals.applications.webcontent2.proxy.filter.SimpleReverseProxyFilter
-
Returns the internal SSL Hostname Verifier.
- getHostnameVerifier() - Method in class org.apache.portals.applications.webcontent2.proxy.servlet.SimpleReverseProxyServlet
-
Returns the internal SSL Hostname Verifier.
- getHttpClient() - Method in class org.apache.portals.applications.webcontent2.proxy.ProxyContext
-
Returns the internal HttpClient instance used in this reverse proxy processing context.
- getHttpClientBuilder() - Method in class org.apache.portals.applications.webcontent2.proxy.command.InitHttpClientCommand
-
Returns internal HttpClientBuilder instance.
- getHttpClientBuilder() - Method in class org.apache.portals.applications.webcontent2.proxy.filter.SimpleReverseProxyFilter
-
Returns the internal HttpClientBuilder instance.
- getHttpClientBuilder() - Method in class org.apache.portals.applications.webcontent2.proxy.servlet.SimpleReverseProxyServlet
-
Returns the internal HttpClientBuilder instance.
- getHttpClientContextBuilder() - Method in class org.apache.portals.applications.webcontent2.proxy.command.ExecuteHttpClientCommand
-
- getHttpClientContextBuilder() - Method in class org.apache.portals.applications.webcontent2.proxy.filter.SimpleReverseProxyFilter
-
- getHttpClientContextBuilder() - Method in class org.apache.portals.applications.webcontent2.proxy.servlet.SimpleReverseProxyServlet
-
- getHttpRequest() - Method in class org.apache.portals.applications.webcontent2.proxy.ProxyContext
-
Returns the HttpRequestBase instance used in the current reverse proxy processing context.
- getHttpResponse() - Method in class org.apache.portals.applications.webcontent2.proxy.ProxyContext
-
Returns the HttpResponse instance used in the current reverse proxy processing context.
- getInputStream() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.GzippedSource
-
Retrieves the gunzipped content as binary data using a
InputStream.
- getInputStream() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.HttpEntitySource
- getInputStream() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ServletRequestContext
-
Retrieves a java.io.InputStream of the body of the request as binary data.
- getInputStream() - Method in interface org.apache.portals.applications.webcontent2.proxy.RequestContext
-
Retrieves a java.io.InputStream of the body of the request as binary data.
- getLocal() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.SimpleProxyMapping
-
Returns the local request path info prefix.
- getLocalPath() - Method in class org.apache.portals.applications.webcontent2.proxy.ProxyContext
-
Returns the local path info in this reverse proxy processing context.
- getLocalPattern() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.RegexProxyMapping
-
Returns the regular expression to evaluate a local request path info.
- getLocalReplace() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.RegexProxyMapping
-
- getMethod() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ServletRequestContext
-
Returns the name of the HTTP method with which this request was made,
for example, GET, POST, or PUT.
- getMethod() - Method in interface org.apache.portals.applications.webcontent2.proxy.RequestContext
-
Returns the name of the HTTP method with which this request was made,
for example, GET, POST, or PUT.
- getOutputStream() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.HttpServletResponseSink
-
Returns the
OutputStream of the underlying
HttpServletResponse.
- getPathInfo() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ServletRequestContext
-
Returns any extra path information associated with the URL the client sent
when it made this request.
- getPathInfo() - Method in interface org.apache.portals.applications.webcontent2.proxy.RequestContext
-
Returns any extra path information associated with the URL the client sent
when it made this request.
- getPathInfo(HttpServletRequest) - Static method in class org.apache.portals.applications.webcontent2.proxy.util.RequestUtils
-
Finds and returns the request URI in the following order.
- getProxyMappingRegistry() - Method in class org.apache.portals.applications.webcontent2.proxy.filter.SimpleReverseProxyFilter
-
- getProxyMappingRegistry() - Method in class org.apache.portals.applications.webcontent2.proxy.ProxyContext
-
Returns the reverse proxy mapping registry in this reverse proxy processing context.
- getProxyMappingRegistry() - Method in class org.apache.portals.applications.webcontent2.proxy.servlet.SimpleReverseProxyServlet
-
- getProxyMappings() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.DefaultProxyMappingRegistry
-
Returns all the reverse proxy mappings in a collection.
- getProxyMappings() - Method in interface org.apache.portals.applications.webcontent2.proxy.ProxyMappingRegistry
-
Returns all the reverse proxy mappings in a collection.
- getProxyService() - Method in class org.apache.portals.applications.webcontent2.proxy.filter.GenericReverseProxyFilter
-
- getProxyService() - Method in class org.apache.portals.applications.webcontent2.proxy.servlet.GenericReverseProxyServlet
-
- getQueryString() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ServletRequestContext
-
Returns the query string that is contained in the request URL after the path.
- getQueryString() - Method in interface org.apache.portals.applications.webcontent2.proxy.RequestContext
-
Returns the query string that is contained in the request URL after the path.
- getReader() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.GzippedSource
-
Retrieves the gunzipped content as character data using a
Reader.
- getReader() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.HttpEntitySource
- getRemote() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.SimpleProxyMapping
-
Returns the remote target URI prefix.
- getRemotePattern() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.RegexProxyMapping
-
Returns the regular expression to evaluate a remote URL.
- getRemoteReplace() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.RegexProxyMapping
-
- getRemoteURI() - Method in class org.apache.portals.applications.webcontent2.proxy.ProxyContext
-
Returns the remote target URI in this reverse proxy processing context.
- getRequestBasePath(HttpServletRequest) - Method in class org.apache.portals.applications.webcontent2.proxy.filter.GenericReverseProxyFilter
-
- getRequestBasePath() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ServletRequestContext
-
Returns the base relative path of the request before the request path info.
- getRequestBasePath() - Method in interface org.apache.portals.applications.webcontent2.proxy.RequestContext
-
Returns the base relative path of the request before the request path info.
- getRequestContext() - Method in class org.apache.portals.applications.webcontent2.proxy.ProxyContext
-
Returns the
RequestContext instance in this reverse proxy processing context.
- getRequestURI(HttpServletRequest) - Static method in class org.apache.portals.applications.webcontent2.proxy.util.RequestUtils
-
Finds and returns the request URI in the following order.
- getResolvedMapping() - Method in class org.apache.portals.applications.webcontent2.proxy.ProxyContext
-
Returns the resolved reverse proxy mapping in this reverse proxy processing context.
- getReverseCookiePath(ProxyContext, Cookie) - Method in class org.apache.portals.applications.webcontent2.proxy.command.AddCookiesToResponseCommand
-
Returns the translated cookie path in the reverse proxy side for the original response cookie.
- getScheme() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ServletRequestContext
-
Returns the scheme of the request URI.
- getScheme() - Method in interface org.apache.portals.applications.webcontent2.proxy.RequestContext
-
Returns the scheme of the request URI.
- getServerName() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ServletRequestContext
-
Returns the host name of the server to which the request was sent.
- getServerName() - Method in interface org.apache.portals.applications.webcontent2.proxy.RequestContext
-
Returns the host name of the server to which the request was sent.
- getServerPort() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ServletRequestContext
-
Returns the port number to which the request was sent.
- getServerPort() - Method in interface org.apache.portals.applications.webcontent2.proxy.RequestContext
-
Returns the port number to which the request was sent.
- getServletPath(HttpServletRequest) - Static method in class org.apache.portals.applications.webcontent2.proxy.util.RequestUtils
-
Finds and returns the request URI in the following order.
- getServletRequest() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ServletRequestContext
-
Returns the underlying HttpServletRequest.
- getServletResponse() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ServletRequestContext
-
Returns the underlying HttpServletResponse.
- getSink() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ServletRequestContext
-
Returns the
Sink instance used in the current reverse proxy processing.
- getSink() - Method in interface org.apache.portals.applications.webcontent2.proxy.RequestContext
-
Returns the
Sink instance used in the current reverse proxy processing.
- getSslSocketFactory() - Method in class org.apache.portals.applications.webcontent2.proxy.filter.SimpleReverseProxyFilter
-
Returns the internal SSL Socket Connection Factory (LayeredConnectionSocketFactory).
- getSslSocketFactory() - Method in class org.apache.portals.applications.webcontent2.proxy.servlet.SimpleReverseProxyServlet
-
Returns the internal SSL Socket Connection Factory (LayeredConnectionSocketFactory).
- getStatusCode() - Method in exception org.apache.portals.applications.webcontent2.proxy.ReverseProxyException
-
Returns HTTP Response status code
- getUriCleaner() - Method in class org.apache.portals.applications.webcontent2.proxy.command.ResolveRemoteURICommand
-
- getWriter() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.HttpServletResponseSink
-
Returns the
Writer of the underlying
HttpServletResponse.
- GzippedSource - Class in org.apache.portals.applications.webcontent2.proxy.impl
-
Acts as an holder for a content rewriting Source in the form of a gzipped
Source.
- GzippedSource(Source) - Constructor for class org.apache.portals.applications.webcontent2.proxy.impl.GzippedSource
-
Constructs a GzippedSource for the underlying gzipped source.
- GzippedSource(Source, String) - Constructor for class org.apache.portals.applications.webcontent2.proxy.impl.GzippedSource
-
Constructs a
GzippedSource for the underlying gzipped
source
with the specific
characterEncoding which can be used when
GzippedSource.getReader()
is invoked from the underlying gzipped byte stream.
- init(FilterConfig) - Method in class org.apache.portals.applications.webcontent2.proxy.filter.GenericReverseProxyFilter
-
Initializes this servlet filter.
- init(FilterConfig) - Method in class org.apache.portals.applications.webcontent2.proxy.filter.SimpleReverseProxyFilter
-
Creates the root reverse proxy processing chain instance,
and initializes all the Commands inside the chain.
- init(ServletConfig) - Method in class org.apache.portals.applications.webcontent2.proxy.servlet.SimpleReverseProxyServlet
-
Creates the root reverse proxy processing chain instance,
and initializes all the Commands inside the chain.
- initHostnameVerifier(FilterConfig) - Method in class org.apache.portals.applications.webcontent2.proxy.filter.SimpleReverseProxyFilter
-
Initializes SSL hostnameVerifier (type of X509HostnameVerifier)
from the init parameter, "ssl-hostname-verifier".
- initHostnameVerifier(ServletConfig) - Method in class org.apache.portals.applications.webcontent2.proxy.servlet.SimpleReverseProxyServlet
-
Initializes SSL hostnameVerifier (type of X509HostnameVerifier)
from the init parameter, "ssl-hostname-verifier".
- InitHttpClientCommand - Class in org.apache.portals.applications.webcontent2.proxy.command
-
Command responsible for initializing the HttpClient instance
which is used to invoke the resolved remote target URI.
- InitHttpClientCommand() - Constructor for class org.apache.portals.applications.webcontent2.proxy.command.InitHttpClientCommand
-
- InitHttpRequestCommand - Class in org.apache.portals.applications.webcontent2.proxy.command
-
Command responsible for initializing the HttpRequestBase instance
which is used to invoke the resolved remote target URI,
based on the original request method name and the resolved remote target URI.
- InitHttpRequestCommand() - Constructor for class org.apache.portals.applications.webcontent2.proxy.command.InitHttpRequestCommand
-
- InitializationCommand - Class in org.apache.portals.applications.webcontent2.proxy.command
-
Command responsible for initializing anything necessary for reverse proxy request processing.
- InitializationCommand() - Constructor for class org.apache.portals.applications.webcontent2.proxy.command.InitializationCommand
-
- initialize() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.AbstractProxyCommand
-
Initializes the proxy command before using in a proxy processing chain.
- initializeAllCommands(ProxyProcessingChain) - Static method in class org.apache.portals.applications.webcontent2.proxy.util.ProxyCommandUtils
-
- initializeCommands(ProxyMappingRegistry, HttpClientBuilder, HttpClientContextBuilder) - Method in class org.apache.portals.applications.webcontent2.proxy.builder.AbstractProxyProcessingChainBuilder
-
- initializeCommands(ProxyMappingRegistry, HttpClientBuilder, HttpClientContextBuilder) - Method in class org.apache.portals.applications.webcontent2.proxy.builder.DefaultProxyProcessingChainBuilder
-
- invoke(ProxyContext) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.DefaultReverseProxyService
-
Invokes reverse proxy service with a proxyContext
which provides runtime context information.
- invoke(ProxyContext) - Method in interface org.apache.portals.applications.webcontent2.proxy.ReverseProxyService
-
Invokes reverse proxy service with a proxyContext
which provides runtime context information.
- isAllowedHttpMethod(HttpServletRequest) - Method in class org.apache.portals.applications.webcontent2.proxy.servlet.GenericReverseProxyServlet
-
Returns true if the HTTP method used by request is allowed by this.
- isDispatched(RequestContext) - Static method in class org.apache.portals.applications.webcontent2.proxy.util.RequestUtils
-
Returns true if the current request was dispatched by either
RequestDispatcher.include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
or RequestDispatcher.forward(javax.servlet.ServletRequest, javax.servlet.ServletResponse).
- isRewritableURI(String) - Method in class org.apache.portals.applications.webcontent2.proxy.rewriter.DefaultReverseProxyTextLineContentRewriter
-
Returns true if the given uri can be rewritten by this.
- isRewritableURI(String) - Static method in class org.apache.portals.applications.webcontent2.proxy.util.RewriterUtils
-
Returns true if the given uri can be rewritten by this.
- isSecure() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ServletRequestContext
-
Returns a boolean indicating whether this request was made using a secure channel,
such as HTTPS.
- isSecure() - Method in interface org.apache.portals.applications.webcontent2.proxy.RequestContext
-
Returns a boolean indicating whether this request was made using a secure channel,
such as HTTPS.
- RegexProxyMapping - Class in org.apache.portals.applications.webcontent2.proxy.impl
-
- RegexProxyMapping() - Constructor for class org.apache.portals.applications.webcontent2.proxy.impl.RegexProxyMapping
-
Zero-argument default constructor.
- removeAllCommands() - Method in class org.apache.portals.applications.webcontent2.proxy.builder.AbstractProxyProcessingChainBuilder
-
Removes all the commands from the internal Command list.
- removeAttribute(String) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.AbstractProxyMapping
-
Removes an attribute from this mapping.
- removeAttribute(String) - Method in interface org.apache.portals.applications.webcontent2.proxy.ProxyMapping
-
Removes an attribute from this mapping.
- removeCommand(Command) - Method in class org.apache.portals.applications.webcontent2.proxy.builder.AbstractProxyProcessingChainBuilder
-
Removes the given command instance from the internal Command list.
- removeCommand(int) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ProxyProcessingChain
-
Remove the Command at the given index of the list of
Commands that will be called in turn when this Chain's
execute() method is called.
- removeCommand(Command) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ProxyProcessingChain
-
Remove the Command from the list of
Commands that will be called in turn when this Chain's
execute() method is called.
- removeCurrentProxyContext() - Static method in class org.apache.portals.applications.webcontent2.proxy.ProxyContext
-
Removes the current ProxyContext instance from the static thread local variable.
- removeProxyMapping(ProxyMapping) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.DefaultProxyMappingRegistry
-
Removes the specified proxyMapping from the registry if exists.
- removeProxyMapping(ProxyMapping) - Method in interface org.apache.portals.applications.webcontent2.proxy.ProxyMappingRegistry
-
Removes the specified proxyMapping from the registry if exists.
- RequestContext - Interface in org.apache.portals.applications.webcontent2.proxy
-
HTTP request/response abstraction needed for reverse proxy processing.
- RequestUtils - Class in org.apache.portals.applications.webcontent2.proxy.util
-
Utility to read the context path, request URI, servlet path, path info, etc.
- ResolveContentRewriterCommand - Class in org.apache.portals.applications.webcontent2.proxy.command
-
Command responsible for resolving the content rewriter
from the resolved ProxyMaping and the content type of the remote content.
- ResolveContentRewriterCommand() - Constructor for class org.apache.portals.applications.webcontent2.proxy.command.ResolveContentRewriterCommand
-
- resolveLocalFromRemote(URI) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.RegexProxyMapping
-
Resolves the remoteURI to a local request path info.
- resolveLocalFromRemote(URI) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.SimpleProxyMapping
-
Resolves the remoteURI to a local request path info.
- resolveLocalFromRemote(URI) - Method in interface org.apache.portals.applications.webcontent2.proxy.ProxyMapping
-
Resolves the remoteURI to a local request path info.
- ResolveLocalPathCommand - Class in org.apache.portals.applications.webcontent2.proxy.command
-
Command responsible for resolving the local request path info.
- ResolveLocalPathCommand() - Constructor for class org.apache.portals.applications.webcontent2.proxy.command.ResolveLocalPathCommand
-
- ResolveProxyMappingCommand - Class in org.apache.portals.applications.webcontent2.proxy.command
-
Command responsible for resolving a
ProxyMapping from the local request path info.
- ResolveProxyMappingCommand(ProxyMappingRegistry) - Constructor for class org.apache.portals.applications.webcontent2.proxy.command.ResolveProxyMappingCommand
-
Constructs ResolveProxyMappingCommand with the given proxyMappingRegistry.
- resolveRemoteFromLocal(String) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.RegexProxyMapping
-
Resolves the localPath to a remote target URI.
- resolveRemoteFromLocal(String) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.SimpleProxyMapping
-
Resolves the localPath to a remote target URI.
- resolveRemoteFromLocal(String) - Method in interface org.apache.portals.applications.webcontent2.proxy.ProxyMapping
-
Resolves the localPath to a remote target URI.
- ResolveRemoteURICommand - Class in org.apache.portals.applications.webcontent2.proxy.command
-
Command responsible for resolving the remote target URI
from the local request path info and the resolved
ProxyMapping.
- ResolveRemoteURICommand() - Constructor for class org.apache.portals.applications.webcontent2.proxy.command.ResolveRemoteURICommand
-
- ReverseProxyException - Exception in org.apache.portals.applications.webcontent2.proxy
-
The ReverseProxyException class defines a general exception
that an http reverse proxy component can throw when it is unable to perform its operation
successfully.
- ReverseProxyException() - Constructor for exception org.apache.portals.applications.webcontent2.proxy.ReverseProxyException
-
Constructs a new HttpReverseProxyException exception.
- ReverseProxyException(int) - Constructor for exception org.apache.portals.applications.webcontent2.proxy.ReverseProxyException
-
Constructs a new HttpReverseProxyException exception.
- ReverseProxyException(String) - Constructor for exception org.apache.portals.applications.webcontent2.proxy.ReverseProxyException
-
Constructs a new HttpReverseProxyException exception with the given message.
- ReverseProxyException(int, String) - Constructor for exception org.apache.portals.applications.webcontent2.proxy.ReverseProxyException
-
Constructs a new HttpReverseProxyException exception with the given message.
- ReverseProxyException(Throwable) - Constructor for exception org.apache.portals.applications.webcontent2.proxy.ReverseProxyException
-
Constructs a new HttpReverseProxyException exception with the nested exception.
- ReverseProxyException(int, Throwable) - Constructor for exception org.apache.portals.applications.webcontent2.proxy.ReverseProxyException
-
Constructs a new HttpReverseProxyException exception with the nested exception.
- ReverseProxyException(String, Throwable) - Constructor for exception org.apache.portals.applications.webcontent2.proxy.ReverseProxyException
-
Constructs a new HttpReverseProxyException exception when the container needs to do
the following:
throw an exception
include the "nested" exception
include a description message
- ReverseProxyException(int, String, Throwable) - Constructor for exception org.apache.portals.applications.webcontent2.proxy.ReverseProxyException
-
Constructs a new HttpReverseProxyException exception when the container needs to do
the following:
throw an exception
include the "nested" exception
include a description message
- ReverseProxyService - Interface in org.apache.portals.applications.webcontent2.proxy
-
Reverse proxy service interface.
- rewriteLine(String, ContentRewritingContext) - Method in class org.apache.portals.applications.webcontent2.proxy.rewriter.DefaultReverseProxyTextLineContentRewriter
- RewriterUtils - Class in org.apache.portals.applications.webcontent2.proxy.util
-
Utilities for content rewriting.
- rewriteURI(String, ContentRewritingContext) - Method in class org.apache.portals.applications.webcontent2.proxy.rewriter.DefaultReverseProxyTextLineContentRewriter
-
- sendRedirect(String) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ServletRequestContext
-
Sends a temporary redirect response to the client using the specified redirect location URL.
- sendRedirect(String) - Method in interface org.apache.portals.applications.webcontent2.proxy.RequestContext
-
Sends a temporary redirect response to the client using the specified redirect location URL.
- SerializeHttpEntityContentCommand - Class in org.apache.portals.applications.webcontent2.proxy.command
-
Command responsible for serializing the response body from the remote content
to the response in the reverse proxy side.
- SerializeHttpEntityContentCommand() - Constructor for class org.apache.portals.applications.webcontent2.proxy.command.SerializeHttpEntityContentCommand
-
- service(HttpServletRequest, HttpServletResponse) - Method in class org.apache.portals.applications.webcontent2.proxy.servlet.GenericReverseProxyServlet
-
- ServletRequestContext - Class in org.apache.portals.applications.webcontent2.proxy.impl
-
HttpServletRequest / HttpServletResponse
abstraction needed for reverse proxy processing.
- ServletRequestContext(HttpServletRequest, HttpServletResponse) - Constructor for class org.apache.portals.applications.webcontent2.proxy.impl.ServletRequestContext
-
Constructs a ServletRequestContext
with the given HttpServletRequest
and HttpServletResponse.
- setAttribute(String, Object) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.AbstractProxyMapping
-
Stores an attribute in this mapping.
- setAttribute(String, Object) - Method in interface org.apache.portals.applications.webcontent2.proxy.ProxyMapping
-
Stores an attribute in this mapping.
- setAttributesMap(String, Map<String, Object>) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.AbstractProxyMapping
-
Stores all the given attributes map in mapping.
- setContentRewriter(ContentRewriter) - Method in class org.apache.portals.applications.webcontent2.proxy.ProxyContext
-
Sets the
ContentRewriter instance to be used in the current reverse proxy processing context.
- setContentRewriters(Map<String, ContentRewriter>) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.AbstractProxyMapping
-
Sets the internal content rewriters map by copying contentRewriters.
- setCookieStore(CookieStore) - Method in class org.apache.portals.applications.webcontent2.proxy.ProxyContext
-
Sets the CookieStore instance to be used in this reverse proxy processing context.
- setCurrentProxyContext(ProxyContext) - Static method in class org.apache.portals.applications.webcontent2.proxy.ProxyContext
-
Sets the current ProxyContext instance in the static thread local variable.
- setDefaultCharacterEncoding(String) - Method in class org.apache.portals.applications.webcontent2.proxy.command.SerializeHttpEntityContentCommand
-
Sets the default character encoding to be used when serializing content to response.
- setHeader(String, String) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ServletRequestContext
-
Sets a response header with the given name and value.
- setHeader(String, String) - Method in interface org.apache.portals.applications.webcontent2.proxy.RequestContext
-
Sets a response header with the given name and value.
- setHostHeaderValue(String) - Method in class org.apache.portals.applications.webcontent2.proxy.command.AddHeadersToResponseCommand
-
Sets the custom specific "Host" HTTP header value.
- setHostnameVerifier(X509HostnameVerifier) - Method in class org.apache.portals.applications.webcontent2.proxy.filter.SimpleReverseProxyFilter
-
Sets the internal SSL Hostname Verifier.
- setHostnameVerifier(X509HostnameVerifier) - Method in class org.apache.portals.applications.webcontent2.proxy.servlet.SimpleReverseProxyServlet
-
Sets the internal SSL Hostname Verifier.
- setHttpClient(HttpClient) - Method in class org.apache.portals.applications.webcontent2.proxy.ProxyContext
-
Sets the internal HttpClient instance to be used in this reverse proxy processing context.
- setHttpClientBuilder(HttpClientBuilder) - Method in class org.apache.portals.applications.webcontent2.proxy.command.InitHttpClientCommand
-
Sets internal HttpClientBuilder instance.
- setHttpClientBuilder(HttpClientBuilder) - Method in class org.apache.portals.applications.webcontent2.proxy.filter.SimpleReverseProxyFilter
-
Sets the internal HttpClientBuilder instance.
- setHttpClientBuilder(HttpClientBuilder) - Method in class org.apache.portals.applications.webcontent2.proxy.servlet.SimpleReverseProxyServlet
-
Sets the internal HttpClientBuilder instance.
- setHttpClientContextBuilder(HttpClientContextBuilder) - Method in class org.apache.portals.applications.webcontent2.proxy.command.ExecuteHttpClientCommand
-
- setHttpClientContextBuilder(HttpClientContextBuilder) - Method in class org.apache.portals.applications.webcontent2.proxy.filter.SimpleReverseProxyFilter
-
- setHttpClientContextBuilder(HttpClientContextBuilder) - Method in class org.apache.portals.applications.webcontent2.proxy.servlet.SimpleReverseProxyServlet
-
- setHttpRequest(HttpRequestBase) - Method in class org.apache.portals.applications.webcontent2.proxy.ProxyContext
-
Sets the HttpRequestBase instance to be used in the current reverse proxy processing context.
- setHttpResponse(HttpResponse) - Method in class org.apache.portals.applications.webcontent2.proxy.ProxyContext
-
Sets the HttpResponse instance to be used in the current reverse proxy processing context.
- setIntHeader(String, int) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ServletRequestContext
-
Sets a response header with the given name and integer value.
- setIntHeader(String, int) - Method in interface org.apache.portals.applications.webcontent2.proxy.RequestContext
-
Sets a response header with the given name and integer value.
- setLocal(String) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.SimpleProxyMapping
-
Sets the local request path info prefix.
- setLocalPath(String) - Method in class org.apache.portals.applications.webcontent2.proxy.ProxyContext
-
Sets the local path info in this reverse proxy processing context.
- setLocalPattern(String) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.RegexProxyMapping
-
Sets the regular expression to evaluate a local request path info.
- setLocalReplace(String) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.RegexProxyMapping
-
- setProxyMappingRegistry(ProxyMappingRegistry) - Method in class org.apache.portals.applications.webcontent2.proxy.filter.SimpleReverseProxyFilter
-
- setProxyMappingRegistry(ProxyMappingRegistry) - Method in class org.apache.portals.applications.webcontent2.proxy.ProxyContext
-
Sets the reverse proxy mapping registry in this reverse proxy processing context.
- setProxyMappingRegistry(ProxyMappingRegistry) - Method in class org.apache.portals.applications.webcontent2.proxy.servlet.SimpleReverseProxyServlet
-
- setProxyService(ReverseProxyService) - Method in class org.apache.portals.applications.webcontent2.proxy.filter.GenericReverseProxyFilter
-
- setProxyService(ReverseProxyService) - Method in class org.apache.portals.applications.webcontent2.proxy.servlet.GenericReverseProxyServlet
-
- setRemote(URI) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.SimpleProxyMapping
-
Sets the remote target URI prefix.
- setRemotePattern(String) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.RegexProxyMapping
-
Sets the regular expression to evaluate a remote URL.
- setRemoteReplace(String) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.RegexProxyMapping
-
- setRemoteURI(URI) - Method in class org.apache.portals.applications.webcontent2.proxy.ProxyContext
-
Sets the remote target URI in this reverse proxy processing context.
- setReplacementList(String[]) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.DefaultURICleaner
-
Sets the replace string array to replace URI strings with.
- setRequestBasePath(String) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ServletRequestContext
-
- setResolvedMapping(ProxyMapping) - Method in class org.apache.portals.applications.webcontent2.proxy.ProxyContext
-
Sets the resolved reverse proxy mapping in this reverse proxy processing context.
- setSearchList(String[]) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.DefaultURICleaner
-
Sets the search string array to find from URI strings.
- setSslSocketFactory(LayeredConnectionSocketFactory) - Method in class org.apache.portals.applications.webcontent2.proxy.filter.SimpleReverseProxyFilter
-
Sets the internal SSL Socket Connection Factory (LayeredConnectionSocketFactory).
- setSslSocketFactory(LayeredConnectionSocketFactory) - Method in class org.apache.portals.applications.webcontent2.proxy.servlet.SimpleReverseProxyServlet
-
Sets the internal SSL Socket Connection Factory (LayeredConnectionSocketFactory).
- setStatus(int) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ServletRequestContext
-
Sets the status code for this response.
- setStatus(int) - Method in interface org.apache.portals.applications.webcontent2.proxy.RequestContext
-
Sets the status code for this response.
- setUriCleaner(URICleaner) - Method in class org.apache.portals.applications.webcontent2.proxy.command.ResolveRemoteURICommand
-
- SimpleProxyMapping - Class in org.apache.portals.applications.webcontent2.proxy.impl
-
Simple
ProxyMapping implementation based on path prefix matching.
- SimpleProxyMapping() - Constructor for class org.apache.portals.applications.webcontent2.proxy.impl.SimpleProxyMapping
-
Zero-argument default constructor.
- SimpleReverseProxyFilter - Class in org.apache.portals.applications.webcontent2.proxy.filter
-
Simple reverse proxy servlet filter implementation as an example and
a base class to be overriden.
- SimpleReverseProxyFilter() - Constructor for class org.apache.portals.applications.webcontent2.proxy.filter.SimpleReverseProxyFilter
-
Zero-argument default constructor.
- SimpleReverseProxyServlet - Class in org.apache.portals.applications.webcontent2.proxy.servlet
-
Simple reverse proxy servlet implementation as an example and a base class to be overriden.
- SimpleReverseProxyServlet() - Constructor for class org.apache.portals.applications.webcontent2.proxy.servlet.SimpleReverseProxyServlet
-
Zero-argument default constructor.
- subSequence(int, int) - Method in class org.apache.portals.applications.webcontent2.proxy.util.CharArraySegment