Class GatewayRouteSpec

    • Method Detail

      • grpcRoute

        public final GrpcGatewayRoute grpcRoute()

        An object that represents the specification of a gRPC gateway route.

        Returns:
        An object that represents the specification of a gRPC gateway route.
      • http2Route

        public final HttpGatewayRoute http2Route()

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

        Returns:
        An object that represents the specification of an HTTP/2 gateway route.
      • httpRoute

        public final HttpGatewayRoute httpRoute()

        An object that represents the specification of an HTTP gateway route.

        Returns:
        An object that represents the specification of an HTTP gateway route.
      • priority

        public final Integer priority()

        The ordering of the gateway routes spec.

        Returns:
        The ordering of the gateway routes spec.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)