java.lang.Object | |
↳ | org.springframework.mock.web.MockFilterConfig |
Mock implementation of the javax.servlet.FilterConfig interface.
Used for testing the web framework; also useful for testing custom javax.servlet.Filter implementations.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new MockFilterConfig with a default
MockServletContext . | |||||||||||
Create a new MockFilterConfig with a default
MockServletContext . | |||||||||||
Create a new MockFilterConfig.
| |||||||||||
Create a new MockFilterConfig.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
javax.servlet.FilterConfig
|
Create a new MockFilterConfig with a default MockServletContext
.
filterName | the name of the filter |
---|
Create a new MockFilterConfig.
servletContext | the ServletContext that the servlet runs in |
---|
Create a new MockFilterConfig.
servletContext | the ServletContext that the servlet runs in |
---|---|
filterName | the name of the filter |