Class EndpointRequest.LinksServerWebExchangeMatcher

java.lang.Object
org.springframework.boot.security.reactive.ApplicationContextServerWebExchangeMatcher<org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties>
org.springframework.boot.security.autoconfigure.actuate.reactive.EndpointRequest.LinksServerWebExchangeMatcher
All Implemented Interfaces:
org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher
Enclosing class:
EndpointRequest

public static final class EndpointRequest.LinksServerWebExchangeMatcher extends ApplicationContextServerWebExchangeMatcher<org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties>
The ServerWebExchangeMatcher used to match against the links endpoint.
Since:
4.0.0
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher

    org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher.MatchResult
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher
    createDelegate(org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties properties)
     
    protected final List<org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher>
    getDelegateMatchers(Set<String> paths, @Nullable org.springframework.http.HttpMethod httpMethod)
     
    protected final org.springframework.boot.actuate.endpoint.EndpointId
     
    protected final boolean
    hasWebServerNamespace(@Nullable org.springframework.context.ApplicationContext applicationContext, org.springframework.boot.actuate.endpoint.web.WebServerNamespace webServerNamespace)
     
    protected boolean
    ignoreApplicationContext(@Nullable org.springframework.context.ApplicationContext applicationContext)
    Returns if the ApplicationContext should be ignored and not used for matching.
    protected boolean
    ignoreApplicationContext(@Nullable org.springframework.context.ApplicationContext applicationContext, org.springframework.boot.actuate.autoconfigure.web.server.ManagementPortType managementPortType)
     
    protected void
    initialized(Supplier<org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties> supplier)
    Called once the context has been initialized.
    protected reactor.core.publisher.Mono<org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher.MatchResult>
    matches(org.springframework.web.server.ServerWebExchange exchange, Supplier<org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties> context)
    Decides whether the rule implemented by the strategy matches the supplied exchange.
     
    protected final String
    toString(List<Object> endpoints, String emptyValue)
     

    Methods inherited from class org.springframework.boot.security.reactive.ApplicationContextServerWebExchangeMatcher

    getContext, matches

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • createDelegate

      protected org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher createDelegate(org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties properties)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • initialized

      protected void initialized(Supplier<org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties> supplier)
      Description copied from class: ApplicationContextServerWebExchangeMatcher
      Called once the context has been initialized.
      Overrides:
      initialized in class ApplicationContextServerWebExchangeMatcher<C>
      Parameters:
      supplier - a supplier for the initialized context (may throw an exception)
    • getDelegateMatchers

      protected final List<org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher> getDelegateMatchers(Set<String> paths, @Nullable org.springframework.http.HttpMethod httpMethod)
    • matches

      protected reactor.core.publisher.Mono<org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher.MatchResult> matches(org.springframework.web.server.ServerWebExchange exchange, Supplier<org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties> context)
      Description copied from class: ApplicationContextServerWebExchangeMatcher
      Decides whether the rule implemented by the strategy matches the supplied exchange.
      Specified by:
      matches in class ApplicationContextServerWebExchangeMatcher<C>
      Parameters:
      exchange - the source exchange
      context - a supplier for the initialized context (may throw an exception)
      Returns:
      if the exchange matches
    • ignoreApplicationContext

      protected boolean ignoreApplicationContext(@Nullable org.springframework.context.ApplicationContext applicationContext)
      Description copied from class: ApplicationContextServerWebExchangeMatcher
      Returns if the ApplicationContext should be ignored and not used for matching. If this method returns true then the context will not be used and the matches method will return false.
      Overrides:
      ignoreApplicationContext in class ApplicationContextServerWebExchangeMatcher<C>
      Parameters:
      applicationContext - the candidate application context
      Returns:
      if the application context should be ignored
    • ignoreApplicationContext

      protected boolean ignoreApplicationContext(@Nullable org.springframework.context.ApplicationContext applicationContext, org.springframework.boot.actuate.autoconfigure.web.server.ManagementPortType managementPortType)
    • hasWebServerNamespace

      protected final boolean hasWebServerNamespace(@Nullable org.springframework.context.ApplicationContext applicationContext, org.springframework.boot.actuate.endpoint.web.WebServerNamespace webServerNamespace)
    • toString

      protected final String toString(List<Object> endpoints, String emptyValue)
    • getEndpointId

      protected final org.springframework.boot.actuate.endpoint.EndpointId getEndpointId(Object source)