Package | Description |
---|---|
org.apache.portals.applications.webcontent2.portlet.proxy |
Generic and simple reverse proxy portlet implementations.
|
org.apache.portals.applications.webcontent2.proxy |
Apache Portals Applications Web Content 2 Reverse Proxy API
|
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.util |
Utilities of Apache Portals Applications Web Content 2 Reverse Proxy module.
|
Modifier and Type | Class and Description |
---|---|
class |
PortletAnyProxyMapping
Default
ProxyMapping implementation for a generic reverse proxy portlet. |
Modifier and Type | Method and Description |
---|---|
protected ProxyMapping |
SimpleReverseProxyPortlet.getProxyMapping()
Returns a
ProxyMapping instance (PortletAnyProxyMapping by default). |
Modifier and Type | Method and Description |
---|---|
ProxyMapping |
ProxyMappingRegistry.findProxyMappingByLocalPath(String localPath)
Finds and returns a reverse proxy mapping for the specific
localPath
which represents the path info of the request from the client or caller. |
ProxyMapping |
ProxyMappingRegistry.findProxyMappingByRemoteURI(URI remoteURI)
Finds and returns a reverse proxy mapping for the specific
remoteURI
which represents the remote target URI at the background. |
ProxyMapping |
ProxyContext.getResolvedMapping()
Returns the resolved reverse proxy mapping in this reverse proxy processing context.
|
Modifier and Type | Method and Description |
---|---|
Collection<ProxyMapping> |
ProxyMappingRegistry.getProxyMappings()
Returns all the reverse proxy mappings in a collection.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ProxyMappingRegistry.addProxyMapping(ProxyMapping proxyMapping)
Adds a reverse proxy mapping to the registry.
|
boolean |
ProxyMappingRegistry.removeProxyMapping(ProxyMapping proxyMapping)
Removes the specified
proxyMapping from the registry if exists. |
void |
ProxyContext.setResolvedMapping(ProxyMapping resolvedMapping)
Sets the resolved reverse proxy mapping in this reverse proxy processing context.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ProxyMappingRegistry.addAllProxyMappings(Collection<ProxyMapping> proxyMappings)
Adds all the reverse proxy mappings in
proxyMappings to the registry. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractProxyMapping
Abstract base implementation of
ProxyMapping
to provide the basic management features for attributes and content rewriters. |
class |
RegexProxyMapping
Java Regular Expression based
ProxyMapping implementation. |
class |
SimpleProxyMapping
Simple
ProxyMapping implementation based on path prefix matching. |
Modifier and Type | Method and Description |
---|---|
ProxyMapping |
DefaultProxyMappingRegistry.findProxyMappingByLocalPath(String localPath)
Finds and returns a reverse proxy mapping for the specific
localPath
which represents the path info of the request from the client or caller. |
ProxyMapping |
DefaultProxyMappingRegistry.findProxyMappingByRemoteURI(URI remoteURI)
Finds and returns a reverse proxy mapping for the specific
remoteURI
which represents the remote target URI at the background. |
Modifier and Type | Method and Description |
---|---|
Collection<ProxyMapping> |
DefaultProxyMappingRegistry.getProxyMappings()
Returns all the reverse proxy mappings in a collection.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultProxyMappingRegistry.addProxyMapping(ProxyMapping proxyMapping)
Adds a reverse proxy mapping to the registry.
|
boolean |
DefaultProxyMappingRegistry.removeProxyMapping(ProxyMapping proxyMapping)
Removes the specified
proxyMapping from the registry if exists. |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultProxyMappingRegistry.addAllProxyMappings(Collection<ProxyMapping> proxyMappingsCollection)
Adds all the reverse proxy mappings in
proxyMappings to the registry. |
Modifier and Type | Method and Description |
---|---|
static List<ProxyMapping> |
YamlConfigUtils.loadProxyMappings(String yamlConfig,
Object servletContextOrPortletContext)
Loads list of
ProxyMapping objects from the yamlConfig . |
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.