Interface RouterFunctionVisitorAdapter

All Superinterfaces:
org.springframework.web.servlet.function.RouterFunctions.Visitor
All Known Implementing Classes:
ConsumingWebEndpointMappingAdapter

public interface RouterFunctionVisitorAdapter extends org.springframework.web.servlet.function.RouterFunctions.Visitor
The adapter interface for RouterFunctions.Visitor
Since:
1.0.0
Author:
Mercy
See Also:
  • RouterFunctions.Visitor
  • RouterFunction
  • RouterFunctions
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    attributes(Map<String,Object> attributes)
    default void
    endNested(org.springframework.web.servlet.function.RequestPredicate predicate)
     
    default void
    resources(Function<org.springframework.web.servlet.function.ServerRequest,Optional<org.springframework.core.io.Resource>> lookupFunction)
     
    default void
    route(org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<?> handlerFunction)
     
    default void
    startNested(org.springframework.web.servlet.function.RequestPredicate predicate)
     
    default void
    unknown(org.springframework.web.servlet.function.RouterFunction<?> routerFunction)
     
  • Method Details

    • startNested

      default void startNested(org.springframework.web.servlet.function.RequestPredicate predicate)
      Specified by:
      startNested in interface org.springframework.web.servlet.function.RouterFunctions.Visitor
    • endNested

      default void endNested(org.springframework.web.servlet.function.RequestPredicate predicate)
      Specified by:
      endNested in interface org.springframework.web.servlet.function.RouterFunctions.Visitor
    • route

      default void route(org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<?> handlerFunction)
      Specified by:
      route in interface org.springframework.web.servlet.function.RouterFunctions.Visitor
    • resources

      default void resources(Function<org.springframework.web.servlet.function.ServerRequest,Optional<org.springframework.core.io.Resource>> lookupFunction)
      Specified by:
      resources in interface org.springframework.web.servlet.function.RouterFunctions.Visitor
    • attributes

      default void attributes(Map<String,Object> attributes)

      Compatible with Spring Framework 5.3.x and earlier versions.

      Specified by:
      attributes in interface org.springframework.web.servlet.function.RouterFunctions.Visitor
    • unknown

      default void unknown(org.springframework.web.servlet.function.RouterFunction<?> routerFunction)
      Specified by:
      unknown in interface org.springframework.web.servlet.function.RouterFunctions.Visitor