public class ErrorPage extends Object
Constructor and Description |
---|
ErrorPage(HttpStatus status,
String path) |
ErrorPage(String path) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Class<? extends Throwable> |
getException() |
String |
getExceptionName()
The exception type name.
|
String |
getPath()
The path to render (usually implemented as a forward), starting with "/".
|
HttpStatus |
getStatus()
The HTTP status value that this error page matches.
|
int |
getStatusCode()
The HTTP status value that this error page matches.
|
int |
hashCode() |
boolean |
isGlobal() |
public ErrorPage(String path)
public ErrorPage(HttpStatus status, String path)
public String getPath()
public Class<? extends Throwable> getException()
public HttpStatus getStatus()
public int getStatusCode()
public String getExceptionName()
null
if there is none)public boolean isGlobal()
Copyright © 2014. All rights reserved.