Class HttpExchangesWebFilter

java.lang.Object
org.springframework.boot.webflux.actuate.web.exchanges.HttpExchangesWebFilter
All Implemented Interfaces:
org.springframework.core.Ordered, org.springframework.web.server.WebFilter

public class HttpExchangesWebFilter extends Object implements org.springframework.web.server.WebFilter, org.springframework.core.Ordered
A WebFilter for recording HTTP exchanges.
Since:
4.0.0
  • Field Summary

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
    HttpExchangesWebFilter(org.springframework.boot.actuate.web.exchanges.HttpExchangeRepository repository, Set<org.springframework.boot.actuate.web.exchanges.Include> includes)
    Create a new HttpExchangesWebFilter instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    reactor.core.publisher.Mono<Void>
    filter(org.springframework.web.server.ServerWebExchange exchange, org.springframework.web.server.WebFilterChain chain)
     
    int
     
    void
    setOrder(int order)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HttpExchangesWebFilter

      public HttpExchangesWebFilter(org.springframework.boot.actuate.web.exchanges.HttpExchangeRepository repository, Set<org.springframework.boot.actuate.web.exchanges.Include> includes)
      Create a new HttpExchangesWebFilter instance.
      Parameters:
      repository - the repository used to record events
      includes - the include options
  • Method Details

    • getOrder

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

      public void setOrder(int order)
    • filter

      public reactor.core.publisher.Mono<Void> filter(org.springframework.web.server.ServerWebExchange exchange, org.springframework.web.server.WebFilterChain chain)
      Specified by:
      filter in interface org.springframework.web.server.WebFilter