Package | Description |
---|---|
org.apache.portals.applications.webcontent2.proxy |
Apache Portals Applications Web Content 2 Reverse Proxy API
|
org.apache.portals.applications.webcontent2.proxy.command |
Command component implementations for reverse proxy services
|
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. |
Modifier and Type | Method and Description |
---|---|
static ProxyContext |
ProxyContext.getCurrentProxyContext()
Returns the current
ProxyContext instance in the static thread local variable. |
Modifier and Type | Method and Description |
---|---|
void |
ReverseProxyService.invoke(ProxyContext proxyContext)
Invokes reverse proxy service with a
proxyContext
which provides runtime context information. |
static void |
ProxyContext.setCurrentProxyContext(ProxyContext proxyContext)
Sets the current
ProxyContext instance in the static thread local variable. |
Modifier and Type | Method and Description |
---|---|
protected ContentRewritingContext |
SerializeHttpEntityContentCommand.createContentRewritingContext(ProxyContext proxyContext)
Creates a new
ContentRewritingContext which is to be used by the resolved ContentRewriter . |
protected org.apache.http.client.methods.HttpRequestBase |
InitHttpRequestCommand.createHttpRequest(ProxyContext context)
Creates an
HttpRequestBase instance
which is used to invoke the resolved remote target URI. |
protected boolean |
SerializeHttpEntityContentCommand.executeInternal(ProxyContext context)
Execute a unit of processing work to be performed.
|
protected boolean |
ResolveRemoteURICommand.executeInternal(ProxyContext context)
Execute a unit of processing work to be performed.
|
protected boolean |
ResolveProxyMappingCommand.executeInternal(ProxyContext context)
Execute a unit of processing work to be performed.
|
protected boolean |
ResolveLocalPathCommand.executeInternal(ProxyContext context)
Execute a unit of processing work to be performed.
|
protected boolean |
ResolveContentRewriterCommand.executeInternal(ProxyContext context)
Execute a unit of processing work to be performed.
|
protected boolean |
InitializationCommand.executeInternal(ProxyContext context)
Execute a unit of processing work to be performed.
|
protected boolean |
InitHttpRequestCommand.executeInternal(ProxyContext context)
Execute a unit of processing work to be performed.
|
protected boolean |
InitHttpClientCommand.executeInternal(ProxyContext context)
Execute a unit of processing work to be performed.
|
protected boolean |
HandleRedirectionCommand.executeInternal(ProxyContext context)
Execute a unit of processing work to be performed.
|
protected boolean |
HandleNotModifiedCommand.executeInternal(ProxyContext context)
Execute a unit of processing work to be performed.
|
protected boolean |
ExecuteHttpClientCommand.executeInternal(ProxyContext context)
Execute a unit of processing work to be performed.
|
protected boolean |
CleanupCommand.executeInternal(ProxyContext context)
Execute a unit of processing work to be performed.
|
protected boolean |
AddHeaderToHttpRequestCommand.executeInternal(ProxyContext context)
Execute a unit of processing work to be performed.
|
protected boolean |
AddHeadersToResponseCommand.executeInternal(ProxyContext context)
Execute a unit of processing work to be performed.
|
protected boolean |
AddCookiesToResponseCommand.executeInternal(ProxyContext context)
Execute a unit of processing work to be performed.
|
protected String |
ResolveRemoteURICommand.getDefaultScheme(ProxyContext context)
Finds the default scheme ("http" or "https") when a scheme-less remote URI was requested.
|
protected String |
AddCookiesToResponseCommand.getReverseCookiePath(ProxyContext context,
org.apache.http.cookie.Cookie responseCookie)
Returns the translated cookie path in the reverse proxy side for the original response cookie.
|
protected void |
SerializeHttpEntityContentCommand.writeHttpEntityToDispatcher(ProxyContext context,
org.apache.http.HttpEntity httpEntity)
Write the
HttpEntity of HttpResponse from the remote content
to the dispatched response in the reverse proxy side. |
protected void |
SerializeHttpEntityContentCommand.writeHttpEntityToResponse(ProxyContext context,
org.apache.http.HttpEntity httpEntity)
Write the
HttpEntity of HttpResponse from the remote content
to the non-dispatched response in the reverse proxy side. |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
AbstractProxyCommand.executeInternal(ProxyContext context)
Execute a unit of processing work to be performed.
|
void |
DefaultReverseProxyService.invoke(ProxyContext proxyContext)
Invokes reverse proxy service with a
proxyContext
which provides runtime context information. |
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.