java.lang.Object | |
↳ | org.springframework.mock.web.MockServletConfig |
Mock implementation of the javax.servlet.ServletConfig interface.
Used for testing the web framework; typically not necessary for testing application controllers.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new MockServletConfig with a default
MockServletContext . | |||||||||||
Create a new MockServletConfig with a default
MockServletContext . | |||||||||||
Create a new MockServletConfig.
| |||||||||||
Create a new MockServletConfig.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Create a new MockServletConfig with a default MockServletContext
.
servletName | the name of the servlet |
---|
Create a new MockServletConfig.
servletContext | the ServletContext that the servlet runs in |
---|
Create a new MockServletConfig.
servletContext | the ServletContext that the servlet runs in |
---|---|
servletName | the name of the servlet |