java.lang.Object | |
↳ | org.springframework.mock.web.MockRequestDispatcher |
Mock implementation of the javax.servlet.RequestDispatcher interface.
Used for testing the web framework; typically not necessary for testing application controllers.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new MockRequestDispatcher for the given URL.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Obtain the underlying MockHttpServletResponse,
unwrapping HttpServletResponseWrapper decorators if necessary.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Create a new MockRequestDispatcher for the given URL.
url | the URL to dispatch to. |
---|
Obtain the underlying MockHttpServletResponse, unwrapping HttpServletResponseWrapper decorators if necessary.