public interface MvcResult
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAsyncResult()
Get the result of asynchronous execution or
null if concurrent
handling did not start. |
FlashMap |
getFlashMap()
Return the "output" flash attributes saved during request processing.
|
java.lang.Object |
getHandler()
Return the executed handler.
|
HandlerInterceptor[] |
getInterceptors()
Return interceptors around the handler.
|
ModelAndView |
getModelAndView()
Return the
ModelAndView prepared by the handler. |
MockHttpServletRequest |
getRequest()
Return the performed request.
|
java.lang.Exception |
getResolvedException()
Return any exception raised by a handler and successfully resolved
through a
HandlerExceptionResolver . |
MockHttpServletResponse |
getResponse()
Return the resulting response.
|
MockHttpServletRequest getRequest()
null
MockHttpServletResponse getResponse()
null
java.lang.Object getHandler()
null
if none were executedHandlerInterceptor[] getInterceptors()
null
if none were selectedModelAndView getModelAndView()
ModelAndView
prepared by the handler.ModelAndView
, or null
java.lang.Exception getResolvedException()
HandlerExceptionResolver
.null
FlashMap getFlashMap()
FlashMap
, possibly emptyjava.lang.Object getAsyncResult()
null
if concurrent
handling did not start. This method will hold and await the completion
of concurrent handling.java.lang.IllegalStateException
- if concurrent handling does not complete
within the allocated async timeout value.