Class OrderedHiddenHttpMethodFilter

java.lang.Object
org.springframework.web.filter.reactive.HiddenHttpMethodFilter
org.springframework.boot.web.reactive.filter.OrderedHiddenHttpMethodFilter
All Implemented Interfaces:
OrderedWebFilter, org.springframework.core.Ordered, org.springframework.web.server.WebFilter

public class OrderedHiddenHttpMethodFilter extends org.springframework.web.filter.reactive.HiddenHttpMethodFilter implements OrderedWebFilter
HiddenHttpMethodFilter that also implements Ordered.
Since:
2.0.5
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The default order is high to ensure the filter is applied before Spring Security.

    Fields inherited from class org.springframework.web.filter.reactive.HiddenHttpMethodFilter

    DEFAULT_METHOD_PARAMETER_NAME

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE

    Fields inherited from interface org.springframework.boot.web.reactive.filter.OrderedWebFilter

    REQUEST_WRAPPER_FILTER_MAX_ORDER
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    void
    setOrder(int order)
    Set the order for this filter.

    Methods inherited from class org.springframework.web.filter.reactive.HiddenHttpMethodFilter

    filter, setMethodParamName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.web.server.WebFilter

    filter
  • Field Details

    • DEFAULT_ORDER

      public static final int DEFAULT_ORDER
      The default order is high to ensure the filter is applied before Spring Security.
      See Also:
  • Constructor Details

    • OrderedHiddenHttpMethodFilter

      public OrderedHiddenHttpMethodFilter()
  • Method Details

    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered
    • setOrder

      public void setOrder(int order)
      Set the order for this filter.
      Parameters:
      order - the order to set