public class NoHandlerFoundException extends ServletException
true this exception is raised and may be handled with
 a configured HandlerExceptionResolver.DispatcherServlet.setThrowExceptionIfNoHandlerFound(boolean), 
DispatcherServlet.noHandlerFound(HttpServletRequest, HttpServletResponse), 
Serialized Form| Constructor and Description | 
|---|
NoHandlerFoundException(java.lang.String httpMethod,
                       java.lang.String requestURL,
                       HttpHeaders headers)
Constructor for NoHandlerFoundException. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
HttpHeaders | 
getHeaders()  | 
java.lang.String | 
getHttpMethod()  | 
java.lang.String | 
getRequestURL()  | 
getRootCausepublic NoHandlerFoundException(java.lang.String httpMethod,
                               java.lang.String requestURL,
                               HttpHeaders headers)
httpMethod - the HTTP methodrequestURL - the HTTP request URLheaders - the HTTP request headerspublic java.lang.String getHttpMethod()
public java.lang.String getRequestURL()
public HttpHeaders getHeaders()