Package | Description |
---|---|
org.apache.portals.applications.webcontent2.proxy.command |
Command component implementations for reverse proxy services
|
org.apache.portals.applications.webcontent2.proxy.rewriter |
Default content rewriter implementations.
|
org.apache.portals.applications.webcontent2.rewriter |
Apache Portals Applications Web Content 2 Content Rewriter API
|
org.apache.portals.applications.webcontent2.rewriter.htmlcleaner |
HtmlCleaner based generic
ContentRewriter implementations
for Apache Portals Applications Web Content 2 Content Rewriter module. |
org.apache.portals.applications.webcontent2.rewriter.impl |
Simple built-in implementations for Apache Portals Applications Web Content 2
Content Rewriter module, including base text line based
ContentRewriter ,
stream based Source and Sink , and
simple ContentRewritingContext implementation. |
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 . |
Modifier and Type | Method and Description |
---|---|
protected String |
DefaultReverseProxyTextLineContentRewriter.rewriteLine(String line,
ContentRewritingContext context)
Translates the given
line and returns the translated string. |
protected String |
DefaultReverseProxyTextLineContentRewriter.rewriteURI(String uri,
ContentRewritingContext context)
Rewrites the given
uri by resolving a ProxyMapping from the internal
ProxyMappingRegistry in the current ContentRewritingContext and ProxyContext . |
Modifier and Type | Method and Description |
---|---|
void |
ContentRewriter.rewrite(Source source,
Sink sink,
ContentRewritingContext context)
Reads content from the
source , transforms the content and writes to the sink . |
Modifier and Type | Method and Description |
---|---|
void |
HtmlCleanerContentRewriter.rewrite(Source source,
Sink sink,
ContentRewritingContext context)
Reads content from the
source , transforms the content and writes to the sink . |
Modifier and Type | Class and Description |
---|---|
class |
SimpleContentRewritingContext
Trivial
ContentRewritingContext implementation. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractTextLineContentRewriter.rewrite(Source source,
Sink sink,
ContentRewritingContext context)
Reads content from the
source , transforms the content and writes to the sink . |
protected abstract String |
AbstractTextLineContentRewriter.rewriteLine(String line,
ContentRewritingContext context)
Translates the given
line and returns the translated string. |
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.