Package io.grpc.xds
Class VirtualHost.Route.RouteMatch.PathMatcher
- java.lang.Object
-
- io.grpc.xds.VirtualHost.Route.RouteMatch.PathMatcher
-
- Direct Known Subclasses:
AutoValue_VirtualHost_Route_RouteMatch_PathMatcher
- Enclosing class:
- VirtualHost.Route.RouteMatch
abstract static class VirtualHost.Route.RouteMatch.PathMatcher extends java.lang.Object
Matcher for HTTP request path.
-
-
Constructor Summary
Constructors Constructor Description PathMatcher()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) abstract boolean
caseSensitive()
private static VirtualHost.Route.RouteMatch.PathMatcher
create(java.lang.String path, java.lang.String prefix, com.google.re2j.Pattern regEx, boolean caseSensitive)
(package private) static VirtualHost.Route.RouteMatch.PathMatcher
fromPath(java.lang.String path, boolean caseSensitive)
(package private) static VirtualHost.Route.RouteMatch.PathMatcher
fromPrefix(java.lang.String prefix, boolean caseSensitive)
(package private) static VirtualHost.Route.RouteMatch.PathMatcher
fromRegEx(com.google.re2j.Pattern regEx)
(package private) abstract java.lang.String
path()
(package private) abstract java.lang.String
prefix()
(package private) abstract com.google.re2j.Pattern
regEx()
-
-
-
Method Detail
-
path
@Nullable abstract java.lang.String path()
-
prefix
@Nullable abstract java.lang.String prefix()
-
regEx
@Nullable abstract com.google.re2j.Pattern regEx()
-
caseSensitive
abstract boolean caseSensitive()
-
fromPath
static VirtualHost.Route.RouteMatch.PathMatcher fromPath(java.lang.String path, boolean caseSensitive)
-
fromPrefix
static VirtualHost.Route.RouteMatch.PathMatcher fromPrefix(java.lang.String prefix, boolean caseSensitive)
-
fromRegEx
static VirtualHost.Route.RouteMatch.PathMatcher fromRegEx(com.google.re2j.Pattern regEx)
-
create
private static VirtualHost.Route.RouteMatch.PathMatcher create(@Nullable java.lang.String path, @Nullable java.lang.String prefix, @Nullable com.google.re2j.Pattern regEx, boolean caseSensitive)
-
-