Interface GrpcRouteMatch.Builder

    • Method Detail

      • metadata

        GrpcRouteMatch.Builder metadata​(Collection<GrpcRouteMetadata> metadata)

        An object that represents the data to match from the request.

        Parameters:
        metadata - An object that represents the data to match from the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metadata

        GrpcRouteMatch.Builder metadata​(GrpcRouteMetadata... metadata)

        An object that represents the data to match from the request.

        Parameters:
        metadata - An object that represents the data to match from the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • methodName

        GrpcRouteMatch.Builder methodName​(String methodName)

        The method name to match from the request. If you specify a name, you must also specify a serviceName.

        Parameters:
        methodName - The method name to match from the request. If you specify a name, you must also specify a serviceName.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • port

        GrpcRouteMatch.Builder port​(Integer port)

        The port number to match on.

        Parameters:
        port - The port number to match on.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceName

        GrpcRouteMatch.Builder serviceName​(String serviceName)

        The fully qualified domain name for the service to match from the request.

        Parameters:
        serviceName - The fully qualified domain name for the service to match from the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.