Interface RouteSpec.Builder

    • Method Detail

      • grpcRoute

        RouteSpec.Builder grpcRoute​(GrpcRoute grpcRoute)

        An object that represents the specification of a gRPC route.

        Parameters:
        grpcRoute - An object that represents the specification of a gRPC route.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • http2Route

        RouteSpec.Builder http2Route​(HttpRoute http2Route)

        An object that represents the specification of an HTTP/2 route.

        Parameters:
        http2Route - An object that represents the specification of an HTTP/2 route.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • httpRoute

        RouteSpec.Builder httpRoute​(HttpRoute httpRoute)

        An object that represents the specification of an HTTP route.

        Parameters:
        httpRoute - An object that represents the specification of an HTTP route.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • priority

        RouteSpec.Builder priority​(Integer priority)

        The priority for the route. Routes are matched based on the specified value, where 0 is the highest priority.

        Parameters:
        priority - The priority for the route. Routes are matched based on the specified value, where 0 is the highest priority.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tcpRoute

        RouteSpec.Builder tcpRoute​(TcpRoute tcpRoute)

        An object that represents the specification of a TCP route.

        Parameters:
        tcpRoute - An object that represents the specification of a TCP route.
        Returns:
        Returns a reference to this object so that method calls can be chained together.