Class OrderedHiddenHttpMethodFilter
java.lang.Object
org.springframework.web.filter.GenericFilterBean
org.springframework.web.filter.OncePerRequestFilter
org.springframework.web.filter.HiddenHttpMethodFilter
org.springframework.boot.servlet.filter.OrderedHiddenHttpMethodFilter
- All Implemented Interfaces:
Filter, Aware, BeanNameAware, DisposableBean, InitializingBean, OrderedFilter, EnvironmentAware, EnvironmentCapable, Ordered, ServletContextAware
HiddenHttpMethodFilter that also implements Ordered.- Since:
- 4.0.0
- Author:
- Phillip Webb
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe default order is high to ensure the filter is applied before Spring Security.Fields inherited from class HiddenHttpMethodFilter
DEFAULT_METHOD_PARAMFields inherited from class OncePerRequestFilter
ALREADY_FILTERED_SUFFIXFields inherited from class GenericFilterBean
loggerFields inherited from interface Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCEFields inherited from interface OrderedFilter
REQUEST_WRAPPER_FILTER_MAX_ORDER -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class HiddenHttpMethodFilter
doFilterInternal, setMethodParamMethods inherited from class OncePerRequestFilter
doFilter, doFilterNestedErrorDispatch, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatchMethods inherited from class GenericFilterBean
addRequiredProperty, afterPropertiesSet, createEnvironment, destroy, getEnvironment, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext
-
Field Details
-
DEFAULT_ORDER
public static final int DEFAULT_ORDERThe default order is high to ensure the filter is applied before Spring Security.- See Also:
-
-
Constructor Details
-
OrderedHiddenHttpMethodFilter
public OrderedHiddenHttpMethodFilter()
-
-
Method Details
-
getOrder
-
setOrder
public void setOrder(int order) Set the order for this filter.- Parameters:
order- the order to set
-