|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ServletException org.springframework.web.util.NestedServletException org.springframework.web.bind.ServletRequestBindingException org.springframework.web.bind.UnsatisfiedServletRequestParameterException
public class UnsatisfiedServletRequestParameterException
ServletRequestBindingException
subclass that indicates an unsatisfied
parameter condition, as typically expressed using an @RequestMapping
annotation at the @Controller
type level.
RequestMapping.params()
Field Summary | |
---|---|
private java.util.Map<java.lang.String,java.lang.String[]> |
actualParams
|
private java.lang.String[] |
paramConditions
|
Constructor Summary | |
---|---|
UnsatisfiedServletRequestParameterException(java.lang.String[] paramConditions,
java.util.Map actualParams)
Create a new UnsatisfiedServletRequestParameterException. |
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.String[]> |
getActualParams()
Return the actual parameter Map associated with the ServletRequest. |
java.lang.String |
getMessage()
Return the detail message, including the message from the nested exception if there is one. |
java.lang.String[] |
getParamConditions()
Return the parameter conditions that have been violated. |
private static java.lang.String |
requestParameterMapToString(java.util.Map<java.lang.String,java.lang.String[]> actualParams)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final java.lang.String[] paramConditions
private final java.util.Map<java.lang.String,java.lang.String[]> actualParams
Constructor Detail |
---|
public UnsatisfiedServletRequestParameterException(java.lang.String[] paramConditions, java.util.Map actualParams)
paramConditions
- the parameter conditions that have been violatedactualParams
- the actual parameter Map associated with the ServletRequestMethod Detail |
---|
public java.lang.String getMessage()
NestedServletException
getMessage
in class NestedServletException
private static java.lang.String requestParameterMapToString(java.util.Map<java.lang.String,java.lang.String[]> actualParams)
public final java.lang.String[] getParamConditions()
RequestMapping.params()
public final java.util.Map<java.lang.String,java.lang.String[]> getActualParams()
javax.servlet.ServletRequest#getParameterMap()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |