cz.softeu.rewriter
Class Rewrited
java.lang.Object
cz.softeu.rewriter.Rewrited
public class Rewrited
- extends java.lang.Object
Rewriting result. It is returned from Rule and contains url and redirection type (@see RedirectType).
If stopProcessing is true (default) no other rule is going to be processed.
- Author:
- Petr Ferschmann
|
Constructor Summary |
Rewrited(java.lang.String newUrl)
|
Rewrited(java.lang.String newUrl,
int redirect)
Rewrite url to newUrl and use redirect |
Rewrited(java.lang.String newUrl,
int redirect,
boolean stopProcessing)
Rewrite url to newUrl and use redirect |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DONT_SEND_RESPONSE
public static final Rewrited DONT_SEND_RESPONSE
Rewrited
public Rewrited(java.lang.String newUrl,
int redirect)
- Rewrite url to newUrl and use redirect
- Parameters:
newUrl - new urlredirect - use redirect (RedirectType)
Rewrited
public Rewrited(java.lang.String newUrl,
int redirect,
boolean stopProcessing)
- Rewrite url to newUrl and use redirect
- Parameters:
newUrl - new urlredirect - use redirect (RedirectType)stopProcessing - stop processing other rules
Rewrited
public Rewrited(java.lang.String newUrl)
getNewUrl
public java.lang.String getNewUrl()
getRedirect
public int getRedirect()
getStopProcessing
public boolean getStopProcessing()
getDontSendResponse
public boolean getDontSendResponse()
Copyright © 2007 SoftEU s.r.o.. All Rights Reserved.