Class RouteSpecGrpcRouteMatch


  • public final class RouteSpecGrpcRouteMatch
    extends java.lang.Object
    • Method Detail

      • metadatas

        public java.util.List<RouteSpecGrpcRouteMatchMetadata> metadatas()
        Returns:
        Data to match from the gRPC request. See `spec.grpc_route.match.metadata` Block for details.
      • methodName

        public java.util.Optional<java.lang.String> methodName()
        Returns:
        Method name to match from the request. If you specify a name, you must also specify a `serviceName`.
      • port

        public java.util.Optional<java.lang.Integer> port()
        Returns:
        Port number to match from the request.
      • prefix

        public java.util.Optional<java.lang.String> prefix()
        Returns:
        Header value sent by the client must begin with the specified characters.
      • serviceName

        public java.util.Optional<java.lang.String> serviceName()
        Returns:
        Fully qualified domain name for the service to match from the request.