Class RouteSpecHttpRouteMatchHeaderMatch


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

      • exact

        public java.util.Optional<java.lang.String> exact()
        Returns:
        Exact query parameter to match on.
      • prefix

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

        public java.util.Optional<RouteSpecHttpRouteMatchHeaderMatchRange> range()
        Returns:
        Object that specifies the range of numbers that the header value sent by the client must be included in. See `spec.http_route.match.header.match.range` Block for details.
      • regex

        public java.util.Optional<java.lang.String> regex()
        Returns:
        Regex used to match the path.
      • suffix

        public java.util.Optional<java.lang.String> suffix()
        Returns:
        Header value sent by the client must end with the specified characters.