public static final class ALBHTTPRequestRule.Builder
extends java.lang.Object
ALBHTTPRequestRule.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
ALBHTTPRequestRule. |
| Modifier and Type | Method and Description |
|---|---|
ALBHTTPRequestRule |
build() |
ALBHTTPRequestRule.Builder |
setAllHeaders(java.lang.Boolean allHeaders)
Log all HTTP headers upon rule match.
|
ALBHTTPRequestRule.Builder |
setEnable(java.lang.Boolean enable)
Enable or disable the rule.
|
ALBHTTPRequestRule.Builder |
setHdrAction(java.util.List<ALBHTTPHdrAction> hdrAction)
HTTP header rewrite action.
|
ALBHTTPRequestRule.Builder |
setIndex(java.lang.Long index)
Index of the rule.
|
ALBHTTPRequestRule.Builder |
setLog(java.lang.Boolean log)
Log HTTP request upon rule match.
|
ALBHTTPRequestRule.Builder |
setMatch(ALBMatchTarget match) |
ALBHTTPRequestRule.Builder |
setName(java.lang.String name)
Name of the rule.
|
ALBHTTPRequestRule.Builder |
setRedirectAction(ALBHTTPRedirectAction redirectAction) |
ALBHTTPRequestRule.Builder |
setRewriteUrlAction(ALBHTTPRewriteURLAction rewriteUrlAction) |
ALBHTTPRequestRule.Builder |
setSwitchingAction(ALBHTTPSwitchingAction switchingAction) |
public Builder()
ALBHTTPRequestRule.public ALBHTTPRequestRule.Builder setAllHeaders(java.lang.Boolean allHeaders)
allHeaders - New value for the property.public ALBHTTPRequestRule.Builder setEnable(java.lang.Boolean enable)
enable - New value for the property.public ALBHTTPRequestRule.Builder setHdrAction(java.util.List<ALBHTTPHdrAction> hdrAction)
hdrAction - New value for the property.public ALBHTTPRequestRule.Builder setIndex(java.lang.Long index)
index - New value for the property.public ALBHTTPRequestRule.Builder setLog(java.lang.Boolean log)
log - New value for the property.public ALBHTTPRequestRule.Builder setMatch(ALBMatchTarget match)
match - New value for the property.public ALBHTTPRequestRule.Builder setName(java.lang.String name)
name - New value for the property.public ALBHTTPRequestRule.Builder setRedirectAction(ALBHTTPRedirectAction redirectAction)
redirectAction - New value for the property.public ALBHTTPRequestRule.Builder setRewriteUrlAction(ALBHTTPRewriteURLAction rewriteUrlAction)
rewriteUrlAction - New value for the property.public ALBHTTPRequestRule.Builder setSwitchingAction(ALBHTTPSwitchingAction switchingAction)
switchingAction - New value for the property.public ALBHTTPRequestRule build()