cz.softeu.rewriter
Class Rewrited

java.lang.Object
  extended by 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

Field Summary
static Rewrited DONT_SEND_RESPONSE
           
 
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
 
Method Summary
 boolean getDontSendResponse()
           
 java.lang.String getNewUrl()
           
 int getRedirect()
           
 boolean getStopProcessing()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DONT_SEND_RESPONSE

public static final Rewrited DONT_SEND_RESPONSE
Constructor Detail

Rewrited

public Rewrited(java.lang.String newUrl,
                int redirect)
Rewrite url to newUrl and use redirect

Parameters:
newUrl - new url
redirect - use redirect (RedirectType)

Rewrited

public Rewrited(java.lang.String newUrl,
                int redirect,
                boolean stopProcessing)
Rewrite url to newUrl and use redirect

Parameters:
newUrl - new url
redirect - use redirect (RedirectType)
stopProcessing - stop processing other rules

Rewrited

public Rewrited(java.lang.String newUrl)
Method Detail

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.