Class ActionResult

  • All Implemented Interfaces:
    org.springframework.test.web.servlet.MvcResult

    public class ActionResult
    extends java.lang.Object
    implements org.springframework.test.web.servlet.MvcResult
    • Constructor Summary

      Constructors 
      Constructor Description
      ActionResult​(org.springframework.test.web.servlet.MvcResult inner)  
    • Constructor Detail

      • ActionResult

        public ActionResult​(org.springframework.test.web.servlet.MvcResult inner)
    • Method Detail

      • action

        public <TAction> TAction action​(ActionMatchers<TAction> matcher)
      • getRequest

        public org.springframework.mock.web.MockHttpServletRequest getRequest()
        Specified by:
        getRequest in interface org.springframework.test.web.servlet.MvcResult
      • getResponse

        public org.springframework.mock.web.MockHttpServletResponse getResponse()
        Specified by:
        getResponse in interface org.springframework.test.web.servlet.MvcResult
      • getHandler

        public java.lang.Object getHandler()
        Specified by:
        getHandler in interface org.springframework.test.web.servlet.MvcResult
      • getInterceptors

        public org.springframework.web.servlet.HandlerInterceptor[] getInterceptors()
        Specified by:
        getInterceptors in interface org.springframework.test.web.servlet.MvcResult
      • getModelAndView

        public org.springframework.web.servlet.ModelAndView getModelAndView()
        Specified by:
        getModelAndView in interface org.springframework.test.web.servlet.MvcResult
      • getResolvedException

        public java.lang.Exception getResolvedException()
        Specified by:
        getResolvedException in interface org.springframework.test.web.servlet.MvcResult
      • getFlashMap

        public org.springframework.web.servlet.FlashMap getFlashMap()
        Specified by:
        getFlashMap in interface org.springframework.test.web.servlet.MvcResult
      • getAsyncResult

        public java.lang.Object getAsyncResult()
        Specified by:
        getAsyncResult in interface org.springframework.test.web.servlet.MvcResult
      • getAsyncResult

        public java.lang.Object getAsyncResult​(long timeToWait)
        Specified by:
        getAsyncResult in interface org.springframework.test.web.servlet.MvcResult