Class GatewayDelegatingRouterFunction<T extends org.springframework.web.servlet.function.ServerResponse>

java.lang.Object
org.springframework.cloud.gateway.server.mvc.handler.GatewayDelegatingRouterFunction<T>
All Implemented Interfaces:
org.springframework.web.servlet.function.RouterFunction<T>

public class GatewayDelegatingRouterFunction<T extends org.springframework.web.servlet.function.ServerResponse> extends Object implements org.springframework.web.servlet.function.RouterFunction<T>
  • Constructor Summary

    Constructors
    Constructor
    Description
    GatewayDelegatingRouterFunction(org.springframework.web.servlet.function.RouterFunction<T> delegate, String routeId)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(org.springframework.web.servlet.function.RouterFunctions.Visitor visitor)
     
    Optional<org.springframework.web.servlet.function.HandlerFunction<T>>
    route(org.springframework.web.servlet.function.ServerRequest request)
     
     

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface org.springframework.web.servlet.function.RouterFunction

    and, andNest, andOther, andRoute, filter, withAttribute, withAttributes
  • Constructor Details

    • GatewayDelegatingRouterFunction

      public GatewayDelegatingRouterFunction(org.springframework.web.servlet.function.RouterFunction<T> delegate, String routeId)
  • Method Details

    • route

      public Optional<org.springframework.web.servlet.function.HandlerFunction<T>> route(org.springframework.web.servlet.function.ServerRequest request)
      Specified by:
      route in interface org.springframework.web.servlet.function.RouterFunction<T extends org.springframework.web.servlet.function.ServerResponse>
    • accept

      public void accept(org.springframework.web.servlet.function.RouterFunctions.Visitor visitor)
      Specified by:
      accept in interface org.springframework.web.servlet.function.RouterFunction<T extends org.springframework.web.servlet.function.ServerResponse>
    • toString

      public String toString()
      Overrides:
      toString in class Object