|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectServletException
org.springframework.web.servlet.mvc.multiaction.NoSuchRequestHandlingMethodException
public class NoSuchRequestHandlingMethodException
Exception thrown when there is no handler method ("action" method) for a specific HTTP request.
MethodNameResolver#getHandlerMethodName(javax.servlet.http.HttpServletRequest)
Field Summary | |
---|---|
private java.lang.String |
methodName
|
Constructor Summary | |
---|---|
NoSuchRequestHandlingMethodException(HttpServletRequest request)
Create a new NoSuchRequestHandlingMethodException for the given request. |
|
NoSuchRequestHandlingMethodException(java.lang.String methodName,
java.lang.Class controllerClass)
Create a new NoSuchRequestHandlingMethodException for the given request. |
|
NoSuchRequestHandlingMethodException(java.lang.String urlPath,
java.lang.String method,
java.util.Map parameterMap)
Create a new NoSuchRequestHandlingMethodException. |
Method Summary | |
---|---|
java.lang.String |
getMethodName()
Return the name of the offending method, if known. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String methodName
Constructor Detail |
---|
public NoSuchRequestHandlingMethodException(HttpServletRequest request)
request
- the offending HTTP requestpublic NoSuchRequestHandlingMethodException(java.lang.String urlPath, java.lang.String method, java.util.Map parameterMap)
urlPath
- the request URI that has been used for handler lookupmethod
- the HTTP request method of the requestparameterMap
- the request's parameters as mappublic NoSuchRequestHandlingMethodException(java.lang.String methodName, java.lang.Class controllerClass)
methodName
- the name of the handler method that wasn't foundcontrollerClass
- the class the handler method was expected to be inMethod Detail |
---|
public java.lang.String getMethodName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |