Class OrderedHiddenHttpMethodFilter
- java.lang.Object
- org.springframework.web.filter.GenericFilterBean
- org.springframework.web.filter.OncePerRequestFilter
- org.springframework.web.filter.HiddenHttpMethodFilter
- org.springframework.boot.web.servlet.filter.OrderedHiddenHttpMethodFilter
- All Implemented Interfaces:
javax.servlet.Filter
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanNameAware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
,OrderedFilter
,org.springframework.context.EnvironmentAware
,org.springframework.core.env.EnvironmentCapable
,org.springframework.core.Ordered
,org.springframework.web.context.ServletContextAware
public class OrderedHiddenHttpMethodFilter extends org.springframework.web.filter.HiddenHttpMethodFilter implements OrderedFilter
HiddenHttpMethodFilter
that also implementsOrdered
.- Since:
- 2.0.0
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_ORDER
The default order is high to ensure the filter is applied before Spring Security.Fields inherited from class org.springframework.web.filter.HiddenHttpMethodFilter
DEFAULT_METHOD_PARAM
Fields inherited from class org.springframework.web.filter.OncePerRequestFilter
ALREADY_FILTERED_SUFFIX
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Fields inherited from interface org.springframework.boot.web.servlet.filter.OrderedFilter
REQUEST_WRAPPER_FILTER_MAX_ORDER
Constructor Summary
Constructors Constructor Description OrderedHiddenHttpMethodFilter()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getOrder()
void
setOrder(int order)
Set the order for this filter.Methods inherited from class org.springframework.web.filter.HiddenHttpMethodFilter
doFilterInternal, setMethodParam
Methods inherited from class org.springframework.web.filter.OncePerRequestFilter
doFilter, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatch
Methods inherited from class org.springframework.web.filter.GenericFilterBean
addRequiredProperty, afterPropertiesSet, createEnvironment, destroy, getEnvironment, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext
Field Detail
DEFAULT_ORDER
public static final int DEFAULT_ORDER
The default order is high to ensure the filter is applied before Spring Security.- See Also:
- Constant Field Values
Constructor Detail
OrderedHiddenHttpMethodFilter
public OrderedHiddenHttpMethodFilter()