public class NoHandlerFoundException extends ServletException
DispatcherServlet.setThrowExceptionIfNoHandlerFound(boolean)
,
DispatcherServlet.noHandlerFound(HttpServletRequest, HttpServletResponse)
,
Serialized FormConstructor and Description |
---|
NoHandlerFoundException(String httpMethod,
String requestURL,
HttpHeaders headers)
Constructor for NoHandlerFoundException.
|
Modifier and Type | Method and Description |
---|---|
HttpHeaders |
getHeaders() |
String |
getHttpMethod() |
String |
getRequestURL() |
getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NoHandlerFoundException(String httpMethod, String requestURL, HttpHeaders headers)
httpMethod
- the HTTP methodrequestURL
- the HTTP request URLheaders
- the HTTP request headerspublic String getHttpMethod()
public String getRequestURL()
public HttpHeaders getHeaders()