|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.tinygroup.weblayer.webcontext.rewrite.Flags
org.tinygroup.weblayer.webcontext.rewrite.RewriteSubstitution.SubstitutionFlags
public static class RewriteSubstitution.SubstitutionFlags
代表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 |
| 构造方法详细信息 |
|---|
public RewriteSubstitution.SubstitutionFlags()
public RewriteSubstitution.SubstitutionFlags(String... flags)
| 方法详细信息 |
|---|
public boolean hasQSA()
public boolean hasC()
public boolean hasL()
public int getRedirectCode()
0。
默认为302 moved temporarily。如指定R=301则表示
301 moved permanently。
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||