public static final class ALBErrorPage.Builder
extends java.lang.Object
ALBErrorPage.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
ALBErrorPage. |
| Modifier and Type | Method and Description |
|---|---|
ALBErrorPage |
build() |
ALBErrorPage.Builder |
setEnable(java.lang.Boolean enable)
Enable or disable the error page.
|
ALBErrorPage.Builder |
setErrorPageBodyPath(java.lang.String errorPageBodyPath)
Custom error page body used to sent to the client.
|
ALBErrorPage.Builder |
setErrorRedirect(java.lang.String errorRedirect)
Redirect sent to client when match.
|
ALBErrorPage.Builder |
setIndex(java.lang.Long index)
Index of the error page.
|
ALBErrorPage.Builder |
setMatch(ALBHTTPStatusMatch match) |
public Builder()
ALBErrorPage.public ALBErrorPage.Builder setEnable(java.lang.Boolean enable)
enable - New value for the property.public ALBErrorPage.Builder setErrorPageBodyPath(java.lang.String errorPageBodyPath)
errorPageBodyPath - New value for the property.public ALBErrorPage.Builder setErrorRedirect(java.lang.String errorRedirect)
errorRedirect - New value for the property.public ALBErrorPage.Builder setIndex(java.lang.Long index)
index - New value for the property.public ALBErrorPage.Builder setMatch(ALBHTTPStatusMatch match)
match - New value for the property.public ALBErrorPage build()