public static class RewriteSubstitution.SubstitutionFlags extends Flags
| 构造器和说明 |
|---|
RewriteSubstitution.SubstitutionFlags() |
RewriteSubstitution.SubstitutionFlags(String... flags) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getRedirectCode()
标志位:重定向,并取得redirect code。
|
boolean |
hasC()
标志位:如果一个规则被匹配,则继续处理其后继规则;如果该规则不被匹配,则其后继规则将被跳过。
|
boolean |
hasL()
标志位:如果一个规则被匹配,并指明该参数,则立即结束。
|
boolean |
hasQSA()
标志位:保留所有GET、POST、UPLOAD所得的参数。
|
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。
Copyright © 2006-2013 开源组织. All Rights Reserved.