public static final class ALBHTTPRedirectAction.Builder
extends java.lang.Object
ALBHTTPRedirectAction.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
ALBHTTPRedirectAction. |
| Modifier and Type | Method and Description |
|---|---|
ALBHTTPRedirectAction |
build() |
ALBHTTPRedirectAction.Builder |
setHost(ALBURIParam host) |
ALBHTTPRedirectAction.Builder |
setKeepQuery(java.lang.Boolean keepQuery)
Keep or drop the query of the incoming request URI in the redirected URI.
|
ALBHTTPRedirectAction.Builder |
setPath(ALBURIParam path) |
ALBHTTPRedirectAction.Builder |
setPort(java.lang.Long port)
Port to which redirect the request.
|
ALBHTTPRedirectAction.Builder |
setProtocol(java.lang.String protocol)
Possible values are:
ALBHTTPRedirectAction.PROTOCOL_HTTP
ALBHTTPRedirectAction.PROTOCOL_HTTPS
Protocol type. |
ALBHTTPRedirectAction.Builder |
setStatusCode(java.lang.String statusCode)
Possible values are:
ALBHTTPRedirectAction.STATUS_CODE_301
ALBHTTPRedirectAction.STATUS_CODE_302
ALBHTTPRedirectAction.STATUS_CODE_307
HTTP redirect status code. |
public Builder()
ALBHTTPRedirectAction.public ALBHTTPRedirectAction.Builder setHost(ALBURIParam host)
host - New value for the property.public ALBHTTPRedirectAction.Builder setKeepQuery(java.lang.Boolean keepQuery)
keepQuery - New value for the property.public ALBHTTPRedirectAction.Builder setPath(ALBURIParam path)
path - New value for the property.public ALBHTTPRedirectAction.Builder setPort(java.lang.Long port)
port - New value for the property.public ALBHTTPRedirectAction.Builder setProtocol(java.lang.String protocol)
protocol - New value for the property.public ALBHTTPRedirectAction.Builder setStatusCode(java.lang.String statusCode)
statusCode - New value for the property.public ALBHTTPRedirectAction build()