You are viewing a plain text version of this content. The canonical link for it is here.
Posted to portalapps-dev@portals.apache.org by wo...@apache.org on 2012/08/14 02:26:42 UTC
svn commit: r1372685 - in /portals/applications/webcontent/trunk:
webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/
webcontent-jar/src/test/java/org/apache/portals/applications/webcontent/proxy/
webcontent-war/src/main...
Author: woonsan
Date: Tue Aug 14 00:26:42 2012
New Revision: 1372685
URL: http://svn.apache.org/viewvc?rev=1372685&view=rev
Log:
APA-50: fixng type in the classname.
Added:
portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/DefaultReverseProxyLinkRewritingParserAdaptor.java
- copied, changed from r1372682, portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/DefaultReverseProxyLinkRewritingParserAaptor.java
Modified:
portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/DefaultReverseProxyLinkRewritingParserAaptor.java
portals/applications/webcontent/trunk/webcontent-jar/src/test/java/org/apache/portals/applications/webcontent/proxy/TestReverseProxyLinkRewritingParserAaptor.java
portals/applications/webcontent/trunk/webcontent-war/src/main/webapp/WEB-INF/conf/reverseproxy.properties
Modified: portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/DefaultReverseProxyLinkRewritingParserAaptor.java
URL: http://svn.apache.org/viewvc/portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/DefaultReverseProxyLinkRewritingParserAaptor.java?rev=1372685&r1=1372684&r2=1372685&view=diff
==============================================================================
--- portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/DefaultReverseProxyLinkRewritingParserAaptor.java (original)
+++ portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/DefaultReverseProxyLinkRewritingParserAaptor.java Tue Aug 14 00:26:42 2012
@@ -33,6 +33,7 @@ import org.apache.portals.applications.w
* You can refer to this example to implement more sophisticated rewriting parser adaptor.
* </P>
*
+ * @deprecated Please use {@link DefaultReverseProxyLinkRewritingParserAdaptor} instead. The class name has a typo.
* @version $Id$
*/
public class DefaultReverseProxyLinkRewritingParserAaptor extends AbstractReverseProxyTextLinesParserAdaptor
Copied: portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/DefaultReverseProxyLinkRewritingParserAdaptor.java (from r1372682, portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/DefaultReverseProxyLinkRewritingParserAaptor.java)
URL: http://svn.apache.org/viewvc/portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/DefaultReverseProxyLinkRewritingParserAdaptor.java?p2=portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/DefaultReverseProxyLinkRewritingParserAdaptor.java&p1=portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/DefaultReverseProxyLinkRewritingParserAaptor.java&r1=1372682&r2=1372685&rev=1372685&view=diff
==============================================================================
--- portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/DefaultReverseProxyLinkRewritingParserAaptor.java (original)
+++ portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/DefaultReverseProxyLinkRewritingParserAdaptor.java Tue Aug 14 00:26:42 2012
@@ -35,7 +35,7 @@ import org.apache.portals.applications.w
*
* @version $Id$
*/
-public class DefaultReverseProxyLinkRewritingParserAaptor extends AbstractReverseProxyTextLinesParserAdaptor
+public class DefaultReverseProxyLinkRewritingParserAdaptor extends AbstractReverseProxyTextLinesParserAdaptor
{
protected static final Pattern LINK_ABS_PATH_PATTERN =
@@ -75,12 +75,12 @@ public class DefaultReverseProxyLinkRewr
private Pattern [] customPatterns;
private String [] customReplaces;
- public DefaultReverseProxyLinkRewritingParserAaptor()
+ public DefaultReverseProxyLinkRewritingParserAdaptor()
{
this(true, null);
}
- public DefaultReverseProxyLinkRewritingParserAaptor(boolean lookUpAllMappings, Set<String> blacklist)
+ public DefaultReverseProxyLinkRewritingParserAdaptor(boolean lookUpAllMappings, Set<String> blacklist)
{
setLookUpAllMappings(lookUpAllMappings);
setBlacklist(blacklist);
Modified: portals/applications/webcontent/trunk/webcontent-jar/src/test/java/org/apache/portals/applications/webcontent/proxy/TestReverseProxyLinkRewritingParserAaptor.java
URL: http://svn.apache.org/viewvc/portals/applications/webcontent/trunk/webcontent-jar/src/test/java/org/apache/portals/applications/webcontent/proxy/TestReverseProxyLinkRewritingParserAaptor.java?rev=1372685&r1=1372684&r2=1372685&view=diff
==============================================================================
--- portals/applications/webcontent/trunk/webcontent-jar/src/test/java/org/apache/portals/applications/webcontent/proxy/TestReverseProxyLinkRewritingParserAaptor.java (original)
+++ portals/applications/webcontent/trunk/webcontent-jar/src/test/java/org/apache/portals/applications/webcontent/proxy/TestReverseProxyLinkRewritingParserAaptor.java Tue Aug 14 00:26:42 2012
@@ -31,7 +31,7 @@ import org.apache.commons.lang.StringUti
import org.apache.portals.applications.webcontent.proxy.impl.DefaultHttpReverseProxyPathMapperImpl;
import org.apache.portals.applications.webcontent.proxy.impl.DefaultHttpReverseProxyPathMapperProviderImpl;
import org.apache.portals.applications.webcontent.proxy.impl.DefaultReverseProxyRewritingContext;
-import org.apache.portals.applications.webcontent.proxy.impl.DefaultReverseProxyLinkRewritingParserAaptor;
+import org.apache.portals.applications.webcontent.proxy.impl.DefaultReverseProxyLinkRewritingParserAdaptor;
import org.apache.portals.applications.webcontent.rewriter.RewriterController;
import org.apache.portals.applications.webcontent.rewriter.rules.Ruleset;
import org.slf4j.Logger;
@@ -105,7 +105,7 @@ public class TestReverseProxyLinkRewriti
proxyPathMapperProvider,
"/webcontent/rproxy");
- DefaultReverseProxyLinkRewritingParserAaptor parserAdaptor = new DefaultReverseProxyLinkRewritingParserAaptor();
+ DefaultReverseProxyLinkRewritingParserAdaptor parserAdaptor = new DefaultReverseProxyLinkRewritingParserAdaptor();
parserAdaptor.setReverseProxyRewritingContext(rewritingContext);
parserAdaptor.setLookUpAllMappings(false);
Modified: portals/applications/webcontent/trunk/webcontent-war/src/main/webapp/WEB-INF/conf/reverseproxy.properties
URL: http://svn.apache.org/viewvc/portals/applications/webcontent/trunk/webcontent-war/src/main/webapp/WEB-INF/conf/reverseproxy.properties?rev=1372685&r1=1372684&r2=1372685&view=diff
==============================================================================
--- portals/applications/webcontent/trunk/webcontent-war/src/main/webapp/WEB-INF/conf/reverseproxy.properties (original)
+++ portals/applications/webcontent/trunk/webcontent-war/src/main/webapp/WEB-INF/conf/reverseproxy.properties Tue Aug 14 00:26:42 2012
@@ -103,7 +103,7 @@ proxy.reverse.pass.apache.local = /apach
proxy.reverse.pass.apache.remote = http://apache.org/
proxy.reverse.pass.apache.rewriter.basic = org.apache.portals.applications.webcontent.rewriter.WebContentRewriter
proxy.reverse.pass.apache.rewriter.parserAdaptor = html
-proxy.reverse.pass.apache.rewriter.parserAdaptor.html = org.apache.portals.applications.webcontent.proxy.impl.DefaultReverseProxyLinkRewritingParserAaptor
+proxy.reverse.pass.apache.rewriter.parserAdaptor.html = org.apache.portals.applications.webcontent.proxy.impl.DefaultReverseProxyLinkRewritingParserAdaptor
proxy.reverse.pass.apache.rewriter.parserAdaptor.html.mimeType = text/html
proxy.reverse.pass.apache.rewriter.parserAdaptor.html.property.lookUpAllMappings = true
@@ -112,7 +112,7 @@ proxy.reverse.pass.all_apache.local = /*
proxy.reverse.pass.all_apache.remote = http://$1.apache.org/
proxy.reverse.pass.all_apache.rewriter.basic = org.apache.portals.applications.webcontent.rewriter.WebContentRewriter
proxy.reverse.pass.all_apache.rewriter.parserAdaptor = html
-proxy.reverse.pass.all_apache.rewriter.parserAdaptor.html = org.apache.portals.applications.webcontent.proxy.impl.DefaultReverseProxyLinkRewritingParserAaptor
+proxy.reverse.pass.all_apache.rewriter.parserAdaptor.html = org.apache.portals.applications.webcontent.proxy.impl.DefaultReverseProxyLinkRewritingParserAdaptor
proxy.reverse.pass.all_apache.rewriter.parserAdaptor.html.mimeType = text/html
proxy.reverse.pass.all_apache.rewriter.parserAdaptor.html.property.lookUpAllMappings = true
@@ -121,7 +121,7 @@ proxy.reverse.pass.secure_apache.local =
proxy.reverse.pass.secure_apache.remote = https://apache.org/
proxy.reverse.pass.secure_apache.rewriter.basic = org.apache.portals.applications.webcontent.rewriter.WebContentRewriter
proxy.reverse.pass.secure_apache.rewriter.parserAdaptor = html
-proxy.reverse.pass.secure_apache.rewriter.parserAdaptor.html = org.apache.portals.applications.webcontent.proxy.impl.DefaultReverseProxyLinkRewritingParserAaptor
+proxy.reverse.pass.secure_apache.rewriter.parserAdaptor.html = org.apache.portals.applications.webcontent.proxy.impl.DefaultReverseProxyLinkRewritingParserAdaptor
proxy.reverse.pass.secure_apache.rewriter.parserAdaptor.html.mimeType = text/html
proxy.reverse.pass.secure_apache.rewriter.parserAdaptor.html.property.lookUpAllMappings = true