A B C D E F G H I L M O P R S U W Y 

A

AbstractProxyCommand - Class in org.apache.portals.applications.webcontent2.proxy.impl
Abstract Command base class encapsulating a unit of reverse proxy processing work to be performed, whose purpose is to support life cycle management with AbstractProxyCommand.initialize() and AbstractProxyCommand.destroy() methods, and to examine and/or modify the state of a reverse proxy transaction that is represented by a ProxyContext.
AbstractProxyCommand() - Constructor for class org.apache.portals.applications.webcontent2.proxy.impl.AbstractProxyCommand
 
AbstractProxyMapping - Class in org.apache.portals.applications.webcontent2.proxy.impl
Abstract base implementation of ProxyMapping to provide the basic management features for attributes and content rewriters.
AbstractProxyMapping() - Constructor for class org.apache.portals.applications.webcontent2.proxy.impl.AbstractProxyMapping
 
AbstractProxyProcessingChainBuilder - Class in org.apache.portals.applications.webcontent2.proxy.builder
Abstract ProxyProcessingChain builder class providing basic functionality to add or remove internal Commands.
AbstractProxyProcessingChainBuilder() - Constructor for class org.apache.portals.applications.webcontent2.proxy.builder.AbstractProxyProcessingChainBuilder
Zero-argument default constructor.
addAllProxyMappings(Collection<ProxyMapping>) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.DefaultProxyMappingRegistry
Adds all the reverse proxy mappings in proxyMappings to the registry.
addAllProxyMappings(Collection<ProxyMapping>) - Method in interface org.apache.portals.applications.webcontent2.proxy.ProxyMappingRegistry
Adds all the reverse proxy mappings in proxyMappings to the registry.
addCommand(Command) - Method in class org.apache.portals.applications.webcontent2.proxy.builder.AbstractProxyProcessingChainBuilder
Adds the given command to the internal Command list which will be added to the root Chain on AbstractProxyProcessingChainBuilder.build(ProxyMappingRegistry, HttpClientBuilder, HttpClientContextBuilder) call.
addCommand(int, Command) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ProxyProcessingChain
Add a Command at the given index of the list of Commands that will be called in turn when this Chain's execute() method is called.
addCookie(Cookie) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ServletRequestContext
Adds the specified cookie to the response.
addCookie(Cookie) - Method in interface org.apache.portals.applications.webcontent2.proxy.RequestContext
Adds the specified cookie to the response.
AddCookiesToResponseCommand - Class in org.apache.portals.applications.webcontent2.proxy.command
Command responsible for copying all the original HTTP response cookies from the remote content to the internally created HttpResponse instance.
AddCookiesToResponseCommand() - Constructor for class org.apache.portals.applications.webcontent2.proxy.command.AddCookiesToResponseCommand
 
addException(Exception) - Method in class org.apache.portals.applications.webcontent2.proxy.ProxyContext
Adds an exception caught during the current reverse proxy processing.
AddHeadersToResponseCommand - Class in org.apache.portals.applications.webcontent2.proxy.command
Command responsible for copying all the original HTTP response headers except of HTTP Cookie related headers from the remote content to the internally created HttpResponse instance.
AddHeadersToResponseCommand() - Constructor for class org.apache.portals.applications.webcontent2.proxy.command.AddHeadersToResponseCommand
 
AddHeaderToHttpRequestCommand - Class in org.apache.portals.applications.webcontent2.proxy.command
Command responsible for copying all the original HTTP request headers to the internally created HttpRequestBase instance.
AddHeaderToHttpRequestCommand() - Constructor for class org.apache.portals.applications.webcontent2.proxy.command.AddHeaderToHttpRequestCommand
 
addProxyMapping(ProxyMapping) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.DefaultProxyMappingRegistry
Adds a reverse proxy mapping to the registry.
addProxyMapping(ProxyMapping) - Method in interface org.apache.portals.applications.webcontent2.proxy.ProxyMappingRegistry
Adds a reverse proxy mapping to the registry.

B

build(ProxyMappingRegistry, HttpClientBuilder, HttpClientContextBuilder) - Method in class org.apache.portals.applications.webcontent2.proxy.builder.AbstractProxyProcessingChainBuilder
Builds a ProxyProcessingChain instance with given proxyMappingRegistry, httpClientBuilder and httpClientContextBuilder.
build(ProxyMappingRegistry, HttpClientBuilder, HttpClientContextBuilder) - Method in interface org.apache.portals.applications.webcontent2.proxy.builder.ProxyProcessingChainBuilder
Builds a ProxyProcessingChain instance with given proxyMappingRegistry, httpClientBuilder and httpClientContextBuilder.
build() - Method in interface org.apache.portals.applications.webcontent2.proxy.HttpClientContextBuilder
 

C

CharArraySegment - Class in org.apache.portals.applications.webcontent2.proxy.util
CharArraySegment.
CharArraySegment() - Constructor for class org.apache.portals.applications.webcontent2.proxy.util.CharArraySegment
Zero-argument default constructor.
CharArraySegment(char[], int, int) - Constructor for class org.apache.portals.applications.webcontent2.proxy.util.CharArraySegment
Constructs a Segment from the array by selecting a range.
CharArraySegment(String) - Constructor for class org.apache.portals.applications.webcontent2.proxy.util.CharArraySegment
Constructs a Segment from the given string.
charAt(int) - Method in class org.apache.portals.applications.webcontent2.proxy.util.CharArraySegment
 
clean(String) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.DefaultURICleaner
Inspects the specified uri and returns a cleaned uri.
clean(String) - Method in interface org.apache.portals.applications.webcontent2.proxy.URICleaner
Inspects the specified uri and returns a cleaned uri.
CleanupCommand - Class in org.apache.portals.applications.webcontent2.proxy.command
Command responsible for cleaning up all the resources (such as HttpRequestBase, HttpResponse, HttpEntity and HttpClient) used during reverse proxy processing in the previous steps.
CleanupCommand() - Constructor for class org.apache.portals.applications.webcontent2.proxy.command.CleanupCommand
 
createContentRewritingContext(ProxyContext) - Method in class org.apache.portals.applications.webcontent2.proxy.command.SerializeHttpEntityContentCommand
Creates a new ContentRewritingContext which is to be used by the resolved ContentRewriter.
createDefault() - Static method in class org.apache.portals.applications.webcontent2.proxy.builder.ProxyServices
Creates ProxyProcessingChainBuilder instance with default configuration.
createDefaultPostprocessingCommand(ProxyMappingRegistry, HttpClientBuilder, HttpClientContextBuilder) - Method in class org.apache.portals.applications.webcontent2.proxy.builder.DefaultProxyProcessingChainBuilder
Creates a ProxyProcessingChain which contains all the Commands in the post-processing phase.
createDefaultPreprocessingCommand(ProxyMappingRegistry, HttpClientBuilder, HttpClientContextBuilder) - Method in class org.apache.portals.applications.webcontent2.proxy.builder.DefaultProxyProcessingChainBuilder
Creates a ProxyProcessingChain which contains all the Commands in the pre-processing phase.
createDefaultProcessingCommand(ProxyMappingRegistry, HttpClientBuilder, HttpClientContextBuilder) - Method in class org.apache.portals.applications.webcontent2.proxy.builder.DefaultProxyProcessingChainBuilder
Creates a ProxyProcessingChain which contains all the Commands in the core processing phase.
createHttpClientBuilder() - Method in class org.apache.portals.applications.webcontent2.proxy.filter.SimpleReverseProxyFilter
Creates HttpClientBuilder instance.
createHttpClientBuilder() - Method in class org.apache.portals.applications.webcontent2.proxy.servlet.SimpleReverseProxyServlet
Creates HttpClientBuilder instance.
createHttpRequest(ProxyContext) - Method in class org.apache.portals.applications.webcontent2.proxy.command.InitHttpRequestCommand
Creates an HttpRequestBase instance which is used to invoke the resolved remote target URI.
createProxyServiceCommand() - Method in class org.apache.portals.applications.webcontent2.proxy.filter.SimpleReverseProxyFilter
#init(ServletConfig) method invokes this method to create the root reverse proxy processing chain (ProxyProcessingChain).
createProxyServiceCommand() - Method in class org.apache.portals.applications.webcontent2.proxy.servlet.SimpleReverseProxyServlet
SimpleReverseProxyServlet.init(ServletConfig) method invokes this method to create the root reverse proxy processing chain (ProxyProcessingChain).
createSslSocketFactory() - Method in class org.apache.portals.applications.webcontent2.proxy.filter.SimpleReverseProxyFilter
Creates the default internal SSL Socket Connection Factory (LayeredConnectionSocketFactory).
createSslSocketFactory() - Method in class org.apache.portals.applications.webcontent2.proxy.servlet.SimpleReverseProxyServlet
Creates the default internal SSL Socket Connection Factory (LayeredConnectionSocketFactory).

D

DefaultProxyMappingRegistry - Class in org.apache.portals.applications.webcontent2.proxy.impl
Default simple implementation of ProxyMappingRegistry.
DefaultProxyMappingRegistry() - Constructor for class org.apache.portals.applications.webcontent2.proxy.impl.DefaultProxyMappingRegistry
 
DefaultProxyProcessingChainBuilder - Class in org.apache.portals.applications.webcontent2.proxy.builder
Default ProxyProcessingChainBuilder implementation.
DefaultProxyProcessingChainBuilder() - Constructor for class org.apache.portals.applications.webcontent2.proxy.builder.DefaultProxyProcessingChainBuilder
Zero-argument default constructor.
DefaultReverseProxyService - Class in org.apache.portals.applications.webcontent2.proxy.impl
Default reverse proxy service implementation.
DefaultReverseProxyService(ProxyProcessingChain) - Constructor for class org.apache.portals.applications.webcontent2.proxy.impl.DefaultReverseProxyService
Constructs a DefaultReverseProxyService with the given proxyProcessingChain.
DefaultReverseProxyTextLineContentRewriter - Class in org.apache.portals.applications.webcontent2.proxy.rewriter
Default text line based content rewriter implementation with basic link rewriting features.
DefaultReverseProxyTextLineContentRewriter() - Constructor for class org.apache.portals.applications.webcontent2.proxy.rewriter.DefaultReverseProxyTextLineContentRewriter
Zero-argument default constructor.
DefaultURICleaner - Class in org.apache.portals.applications.webcontent2.proxy.impl
Default simple URICleaner implementation.
DefaultURICleaner() - Constructor for class org.apache.portals.applications.webcontent2.proxy.impl.DefaultURICleaner
Zero-argument default constructor.
destroy() - Method in class org.apache.portals.applications.webcontent2.proxy.filter.GenericReverseProxyFilter
Destroys this servlet filter.
destroy() - Method in class org.apache.portals.applications.webcontent2.proxy.filter.SimpleReverseProxyFilter
Disposes all the Commands in the root reverse proxy processing chain.
destroy() - Method in class org.apache.portals.applications.webcontent2.proxy.impl.AbstractProxyCommand
Invokes this method to give this proxy command a chance to dispose any resource used in reverse proxy processing.
destroy() - Method in class org.apache.portals.applications.webcontent2.proxy.servlet.SimpleReverseProxyServlet
Disposes all the Commands in the root reverse proxy processing chain.
destroyAllCommands(ProxyProcessingChain) - Static method in class org.apache.portals.applications.webcontent2.proxy.util.ProxyCommandUtils
Invokes AbstractProxyCommand.destroy() on each item in the chain.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.apache.portals.applications.webcontent2.proxy.filter.GenericReverseProxyFilter
Invokes the internal ReverseProxyService on allowed HTTP requests.

E

execute(Context) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.AbstractProxyCommand
execute(Context) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.ProxyProcessingChain
ExecuteHttpClientCommand - Class in org.apache.portals.applications.webcontent2.proxy.command
Command responsible for executing the internal HttpClient with the HttpRequestBase instance.
ExecuteHttpClientCommand() - Constructor for class org.apache.portals.applications.webcontent2.proxy.command.ExecuteHttpClientCommand
 
executeInternal(ProxyContext) - Method in class org.apache.portals.applications.webcontent2.proxy.command.AddCookiesToResponseCommand
Execute a unit of processing work to be performed.
executeInternal(ProxyContext) - Method in class org.apache.portals.applications.webcontent2.proxy.command.AddHeadersToResponseCommand
Execute a unit of processing work to be performed.
executeInternal(ProxyContext) - Method in class org.apache.portals.applications.webcontent2.proxy.command.AddHeaderToHttpRequestCommand
Execute a unit of processing work to be performed.
executeInternal(ProxyContext) - Method in class org.apache.portals.applications.webcontent2.proxy.command.CleanupCommand
Execute a unit of processing work to be performed.
executeInternal(ProxyContext) - Method in class org.apache.portals.applications.webcontent2.proxy.command.ExecuteHttpClientCommand
Execute a unit of processing work to be performed.
executeInternal(ProxyContext) - Method in class org.apache.portals.applications.webcontent2.proxy.command.HandleNotModifiedCommand
Execute a unit of processing work to be performed.
executeInternal(ProxyContext) - Method in class org.apache.portals.applications.webcontent2.proxy.command.HandleRedirectionCommand
Execute a unit of processing work to be performed.
executeInternal(ProxyContext) - Method in class org.apache.portals.applications.webcontent2.proxy.command.InitHttpClientCommand
Execute a unit of processing work to be performed.
executeInternal(ProxyContext) - Method in class org.apache.portals.applications.webcontent2.proxy.command.InitHttpRequestCommand
Execute a unit of processing work to be performed.
executeInternal(ProxyContext) - Method in class org.apache.portals.applications.webcontent2.proxy.command.InitializationCommand
Execute a unit of processing work to be performed.
executeInternal(ProxyContext) - Method in class org.apache.portals.applications.webcontent2.proxy.command.ResolveContentRewriterCommand
Execute a unit of processing work to be performed.
executeInternal(ProxyContext) - Method in class org.apache.portals.applications.webcontent2.proxy.command.ResolveLocalPathCommand
Execute a unit of processing work to be performed.
executeInternal(ProxyContext) - Method in class org.apache.portals.applications.webcontent2.proxy.command.ResolveProxyMappingCommand
Execute a unit of processing work to be performed.
executeInternal(ProxyContext) - Method in class org.apache.portals.applications.webcontent2.proxy.command.ResolveRemoteURICommand
Execute a unit of processing work to be performed.
executeInternal(ProxyContext) - Method in class org.apache.portals.applications.webcontent2.proxy.command.SerializeHttpEntityContentCommand
Execute a unit of processing work to be performed.
executeInternal(ProxyContext) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.AbstractProxyCommand
Execute a unit of processing work to be performed.

F

findProxyMappingByLocalPath(String) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.DefaultProxyMappingRegistry
Finds and returns a reverse proxy mapping for the specific localPath which represents the path info of the request from the client or caller.
findProxyMappingByLocalPath(String) - Method in interface org.apache.portals.applications.webcontent2.proxy.ProxyMappingRegistry
Finds and returns a reverse proxy mapping for the specific localPath which represents the path info of the request from the client or caller.
findProxyMappingByRemoteURI(URI) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.DefaultProxyMappingRegistry
Finds and returns a reverse proxy mapping for the specific remoteURI which represents the remote target URI at the background.
findProxyMappingByRemoteURI(URI) - Method in interface org.apache.portals.applications.webcontent2.proxy.ProxyMappingRegistry
Finds and returns a reverse proxy mapping for the specific remoteURI which represents the remote target URI at the background.

G

GenericReverseProxyFilter - Class in org.apache.portals.applications.webcontent2.proxy.filter
Generic reverse proxy servlet filter invoking ReverseProxyService injected.
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
Generic reverse proxy servlet invoking ReverseProxyService injected.
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
Returns a ContentRewriter instance to be used for the given mimeType.
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
Returns a ContentRewriter instance to be used for the given mimeType.
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
Returns the internal HttpClientContextBuilder.
getHttpClientContextBuilder() - Method in class org.apache.portals.applications.webcontent2.proxy.filter.SimpleReverseProxyFilter
Returns the internal HttpClientContextBuilder instance.
getHttpClientContextBuilder() - Method in class org.apache.portals.applications.webcontent2.proxy.servlet.SimpleReverseProxyServlet
Returns the internal HttpClientContextBuilder instance.
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
Returns the replace string to translate to a local request path info based on the regular expression result from RegexProxyMapping.getRemotePattern().
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
Returns the internal ProxyMappingRegistry instance.
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
Returns the internal ProxyMappingRegistry instance.
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
Returns the internal ReverseProxyService instance.
getProxyService() - Method in class org.apache.portals.applications.webcontent2.proxy.servlet.GenericReverseProxyServlet
Returns the internal ReverseProxyService instance.
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
Returns the replace string to translate to a remote URI based on the regular expression result from RegexProxyMapping.getLocalPattern().
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
Returns the concatenation of the servlet context path (see ServletContext.getContext(String) and the filterPath (see GenericReverseProxyFilter.getFilterPath()).
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
Returns the internal URICleaner.
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.

H

HandleNotModifiedCommand - Class in org.apache.portals.applications.webcontent2.proxy.command
Command responsible for handling HTTP 304 error response from the remote target content.
HandleNotModifiedCommand() - Constructor for class org.apache.portals.applications.webcontent2.proxy.command.HandleNotModifiedCommand
 
HandleRedirectionCommand - Class in org.apache.portals.applications.webcontent2.proxy.command
Command responsible for handling HTTP Redirection response from the remote target content.
HandleRedirectionCommand() - Constructor for class org.apache.portals.applications.webcontent2.proxy.command.HandleRedirectionCommand
 
hasException() - Method in class org.apache.portals.applications.webcontent2.proxy.ProxyContext
Returns true if there's any exception caught during the current reverse proxy processing.
HttpClientContextBuilder - Interface in org.apache.portals.applications.webcontent2.proxy
Builder for HttpClientContext instances.
HttpEntitySource - Class in org.apache.portals.applications.webcontent2.proxy.impl
Acts as an holder for a content rewriting Source in the form of an HttpEntity.
HttpEntitySource(HttpEntity) - Constructor for class org.apache.portals.applications.webcontent2.proxy.impl.HttpEntitySource
Constructs an HttpEntitySource for the underlying HttpEntity.
HttpEntitySource(HttpEntity, String) - Constructor for class org.apache.portals.applications.webcontent2.proxy.impl.HttpEntitySource
Constructs a HttpEntitySource for the underlying HttpEntity with the specific characterEncoding which can be used when HttpEntitySource.getReader() is invoked from the underlying HttpEntity content stream.
HttpServletResponseSink - Class in org.apache.portals.applications.webcontent2.proxy.impl
Acts as an holder for a content rewriting Sink in the form of byte or character stream of HttpServletResponse.
HttpServletResponseSink(HttpServletResponse) - Constructor for class org.apache.portals.applications.webcontent2.proxy.impl.HttpServletResponseSink
Constructs a HttpServletResponseSink for the given response.

I

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
Invokes AbstractProxyCommand.initialize() on each item in the chain.
initializeCommands(ProxyMappingRegistry, HttpClientBuilder, HttpClientContextBuilder) - Method in class org.apache.portals.applications.webcontent2.proxy.builder.AbstractProxyProcessingChainBuilder
Initializes all the internal commands to be used by the root Chain on AbstractProxyProcessingChainBuilder.build(ProxyMappingRegistry, HttpClientBuilder, HttpClientContextBuilder) call.
initializeCommands(ProxyMappingRegistry, HttpClientBuilder, HttpClientContextBuilder) - Method in class org.apache.portals.applications.webcontent2.proxy.builder.DefaultProxyProcessingChainBuilder
Initializes all the internal commands to be used by the root Chain on AbstractProxyProcessingChainBuilder.build(ProxyMappingRegistry, HttpClientBuilder, HttpClientContextBuilder) call.
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.

L

length() - Method in class org.apache.portals.applications.webcontent2.proxy.util.CharArraySegment
LINK_PATTERN - Static variable in class org.apache.portals.applications.webcontent2.proxy.rewriter.DefaultReverseProxyTextLineContentRewriter
The regular expression pattern to find and replace URI attribute values in DOM elements.
loadProxyMappings(String, Object) - Static method in class org.apache.portals.applications.webcontent2.proxy.util.YamlConfigUtils
Loads list of ProxyMapping objects from the yamlConfig.
loadYaml(BaseConstructor, String, Object) - Static method in class org.apache.portals.applications.webcontent2.proxy.util.YamlConfigUtils
Loads YAML objects from the yamlConfig.
logExceptions(List<Exception>) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.DefaultReverseProxyService
Logs all the exceptions caught while calling on DefaultReverseProxyService.invoke(ProxyContext).

M

MAPPINGS_PARAM_NAME - Static variable in class org.apache.portals.applications.webcontent2.proxy.filter.SimpleReverseProxyFilter
Reverse proxy mapping initialization parameter name.
MAPPINGS_PARAM_NAME - Static variable in class org.apache.portals.applications.webcontent2.proxy.servlet.SimpleReverseProxyServlet
Reverse proxy mapping initialization parameter name.
matchesLocal(String) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.RegexProxyMapping
Returns true the localPath can be mapped by this proxy mapping.
matchesLocal(String) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.SimpleProxyMapping
Returns true the localPath can be mapped by this proxy mapping.
matchesLocal(String) - Method in interface org.apache.portals.applications.webcontent2.proxy.ProxyMapping
Returns true the localPath can be mapped by this proxy mapping.
matchesRemote(URI) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.RegexProxyMapping
Returns true the remoteURI can be mapped by this proxy mapping.
matchesRemote(URI) - Method in class org.apache.portals.applications.webcontent2.proxy.impl.SimpleProxyMapping
Returns true the remoteURI can be mapped by this proxy mapping.
matchesRemote(URI) - Method in interface org.apache.portals.applications.webcontent2.proxy.ProxyMapping
Returns true the remoteURI can be mapped by this proxy mapping.

O

org.apache.portals.applications.webcontent2.proxy - package org.apache.portals.applications.webcontent2.proxy
Apache Portals Applications Web Content 2 Reverse Proxy API
org.apache.portals.applications.webcontent2.proxy.builder - package org.apache.portals.applications.webcontent2.proxy.builder
Builder components which help build ProxyProcessingChain.
org.apache.portals.applications.webcontent2.proxy.command - package org.apache.portals.applications.webcontent2.proxy.command
Command component implementations for reverse proxy services
org.apache.portals.applications.webcontent2.proxy.filter - package org.apache.portals.applications.webcontent2.proxy.filter
Generic and simple reverse proxy servlet filter implementations
org.apache.portals.applications.webcontent2.proxy.impl - package org.apache.portals.applications.webcontent2.proxy.impl
Server-side components for building a reverse proxy service, including commands and chains, RequestContext, ProxyMapping, registry, HttpClient related implementations, etc.
org.apache.portals.applications.webcontent2.proxy.rewriter - package org.apache.portals.applications.webcontent2.proxy.rewriter
Default content rewriter implementations.
org.apache.portals.applications.webcontent2.proxy.servlet - package org.apache.portals.applications.webcontent2.proxy.servlet
Generic and simple reverse proxy servlet implementations
org.apache.portals.applications.webcontent2.proxy.util - package org.apache.portals.applications.webcontent2.proxy.util
Utilities of Apache Portals Applications Web Content 2 Reverse Proxy module.

P

ProxyCommandUtils - Class in org.apache.portals.applications.webcontent2.proxy.util
Utility to invoke the life cycle methods easily on each AbstractProxyCommand in a ProxyProcessingChain.
ProxyContext - Class in org.apache.portals.applications.webcontent2.proxy
Base Context implementation to be used in a reverse proxy service execution.
ProxyContext(RequestContext) - Constructor for class org.apache.portals.applications.webcontent2.proxy.ProxyContext
Constructs a ProxyContext for the given RequestContext.
ProxyContext(RequestContext, Map) - Constructor for class org.apache.portals.applications.webcontent2.proxy.ProxyContext
Constructs a ProxyContext for the given RequestContext with putting all entries into the ProxyContext from the initial map.
ProxyMapping - Interface in org.apache.portals.applications.webcontent2.proxy
Reverse proxy mapping abstraction, which is responsible for
ProxyMappingRegistry - Interface in org.apache.portals.applications.webcontent2.proxy
Reverse Proxy mapping registry.
ProxyProcessingChain - Class in org.apache.portals.applications.webcontent2.proxy.impl
Convenience base class for reverse proxy processing Chain implementation.
ProxyProcessingChain() - Constructor for class org.apache.portals.applications.webcontent2.proxy.impl.ProxyProcessingChain
Constructs a ProxyProcessingChain with no configured Commands.
ProxyProcessingChain(Command) - Constructor for class org.apache.portals.applications.webcontent2.proxy.impl.ProxyProcessingChain
Constructs a ProxyProcessingChain configured with the specified Command.
ProxyProcessingChain(Command[]) - Constructor for class org.apache.portals.applications.webcontent2.proxy.impl.ProxyProcessingChain
Constructs a ProxyProcessingChain configured with the specified Commands.
ProxyProcessingChain(Collection) - Constructor for class org.apache.portals.applications.webcontent2.proxy.impl.ProxyProcessingChain
Constructs a ProxyProcessingChain configured with the specified Commands.
ProxyProcessingChainBuilder - Interface in org.apache.portals.applications.webcontent2.proxy.builder
Interface responsible for building ProxyProcessingChain instances.
ProxyServices - Class in org.apache.portals.applications.webcontent2.proxy.builder
Factory methods for ProxyProcessingChainBuilder instances.

R

RegexProxyMapping - Class in org.apache.portals.applications.webcontent2.proxy.impl
Java Regular Expression based ProxyMapping implementation.
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
Rewrites the given uri by resolving a ProxyMapping from the internal ProxyMappingRegistry in the current ContentRewritingContext and ProxyContext.

S

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
Invokes the internal ReverseProxyService on allowed HTTP requests.
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
Sets the internal HttpClientContextBuilder.
setHttpClientContextBuilder(HttpClientContextBuilder) - Method in class org.apache.portals.applications.webcontent2.proxy.filter.SimpleReverseProxyFilter
Sets the internal HttpClientContextBuilder instance.
setHttpClientContextBuilder(HttpClientContextBuilder) - Method in class org.apache.portals.applications.webcontent2.proxy.servlet.SimpleReverseProxyServlet
Sets the internal HttpClientContextBuilder instance.
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
Sets the replace string to translate to a local request path info based on the regular expression result from RegexProxyMapping.getRemotePattern().
setProxyMappingRegistry(ProxyMappingRegistry) - Method in class org.apache.portals.applications.webcontent2.proxy.filter.SimpleReverseProxyFilter
Sets the internal ProxyMappingRegistry instance.
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
Sets the internal ProxyMappingRegistry instance.
setProxyService(ReverseProxyService) - Method in class org.apache.portals.applications.webcontent2.proxy.filter.GenericReverseProxyFilter
Sets the internal ReverseProxyService instance.
setProxyService(ReverseProxyService) - Method in class org.apache.portals.applications.webcontent2.proxy.servlet.GenericReverseProxyServlet
Sets the internal ReverseProxyService instance.
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
Sets the replace string to translate to a remote URI based on the regular expression result from RegexProxyMapping.getLocalPattern().
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
Sets the internal URICleaner.
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

U

URICleaner - Interface in org.apache.portals.applications.webcontent2.proxy
URICleaner

W

writeHttpEntityToDispatcher(ProxyContext, HttpEntity) - Method in class org.apache.portals.applications.webcontent2.proxy.command.SerializeHttpEntityContentCommand
Write the HttpEntity of HttpResponse from the remote content to the dispatched response in the reverse proxy side.
writeHttpEntityToResponse(ProxyContext, HttpEntity) - Method in class org.apache.portals.applications.webcontent2.proxy.command.SerializeHttpEntityContentCommand
Write the HttpEntity of HttpResponse from the remote content to the non-dispatched response in the reverse proxy side.

Y

YamlConfigUtils - Class in org.apache.portals.applications.webcontent2.proxy.util
Utility to load reverse proxy mapping configurations in YAML format.
A B C D E F G H I L M O P R S U W Y 

Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.