public class ErrorPage extends JsonObject
| Constructor and Description |
|---|
ErrorPage() |
ErrorPage(int code,
String url) |
ErrorPage(int code,
String url,
int redirectCode) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCode() |
Integer |
getRedirectCode() |
String |
getUrl() |
void |
setCode(Integer code) |
void |
setRedirectCode(Integer redirectCode) |
void |
setUrl(String url) |
ErrorPage |
withCode(Integer code) |
ErrorPage |
withRedirectCode(Integer redirectCode) |
ErrorPage |
withUrl(String url) |
toStringpublic ErrorPage()
public ErrorPage(int code,
String url)
public ErrorPage(int code,
String url,
int redirectCode)
Copyright © 2023. All rights reserved.