org.tinygroup.weblayer.webcontext.rewrite
类 RewriteSubstitution.SubstitutionFlags

java.lang.Object
  继承者 org.tinygroup.weblayer.webcontext.rewrite.Flags
      继承者 org.tinygroup.weblayer.webcontext.rewrite.RewriteSubstitution.SubstitutionFlags
包容类:
RewriteSubstitution

public static class RewriteSubstitution.SubstitutionFlags
extends Flags

代表substitution的标志位。


构造方法摘要
RewriteSubstitution.SubstitutionFlags()
           
RewriteSubstitution.SubstitutionFlags(String... flags)
           
 
方法摘要
 int getRedirectCode()
          标志位:重定向,并取得redirect code。
 boolean hasC()
          标志位:如果一个规则被匹配,则继续处理其后继规则;如果该规则不被匹配,则其后继规则将被跳过。
 boolean hasL()
          标志位:如果一个规则被匹配,并指明该参数,则立即结束。
 boolean hasQSA()
          标志位:保留所有GET、POST、UPLOAD所得的参数。
 
从类 org.tinygroup.weblayer.webcontext.rewrite.Flags 继承的方法
getFlags, getFlagValue, hasFlags, isEmpty, toString
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

RewriteSubstitution.SubstitutionFlags

public RewriteSubstitution.SubstitutionFlags()

RewriteSubstitution.SubstitutionFlags

public RewriteSubstitution.SubstitutionFlags(String... flags)
方法详细信息

hasQSA

public boolean hasQSA()
标志位:保留所有GET、POST、UPLOAD所得的参数。


hasC

public boolean hasC()
标志位:如果一个规则被匹配,则继续处理其后继规则;如果该规则不被匹配,则其后继规则将被跳过。


hasL

public boolean hasL()
标志位:如果一个规则被匹配,并指明该参数,则立即结束。


getRedirectCode

public int getRedirectCode()
标志位:重定向,并取得redirect code。如果未指定重定向,则返回0

默认为302 moved temporarily。如指定R=301则表示 301 moved permanently



Copyright © 2006–2014 开源组织. All rights reserved.