Class PathRoute.Builder

  • Enclosing class:
    PathRoute

    public static class PathRoute.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • path

        public PathRoute.Builder path​(String path)
        The path string to match against the incoming URI path.

        Path strings are case-insensitive.

        Asterisk (*) wildcards are not supported.

        Regular expressions are not supported.

        Example: /example/video/123

        Parameters:
        path - the value to set
        Returns:
        this builder
      • pathMatchType

        public PathRoute.Builder pathMatchType​(PathMatchType pathMatchType)
        The type of matching to apply to incoming URIs.
        Parameters:
        pathMatchType - the value to set
        Returns:
        this builder
      • backendSetName

        public PathRoute.Builder backendSetName​(String backendSetName)
        The name of the target backend set for requests where the incoming URI matches the specified path.

        Example: example_backend_set

        Parameters:
        backendSetName - the value to set
        Returns:
        this builder