Package akka.http.javadsl.server
Class PathMatcher1<T1>
- java.lang.Object
-
- akka.http.javadsl.server.PathMatcher1<T1>
-
public final class PathMatcher1<T1> extends java.lang.ObjectA PathMatcher tries to match a prefix of a given string and returns either a PathMatcher.Matched instance if matched, otherwise PathMatchers.Unmatched.
-
-
Constructor Summary
Constructors Constructor Description PathMatcher1(PathMatcher<scala.Tuple1<T1>> toScala)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PathMatcher1<T1>concat(PathMatcher0 next)<N> PathMatcher2<T1,N>concat(PathMatcher1<N> next)<N1,N2>
PathMatcher3<T1,N1,N2>concat(PathMatcher2<N1,N2> next)PathMatcher1<T1>concat(java.lang.String segment)PathMatcher0invert()<U> PathMatcher1<U>map(java.util.function.Function<T1,U> f)PathMatcher1<T1>orElse(PathMatcher1<T1> alternative)PathMatcher1<java.util.List<T1>>repeat(int min, int max)PathMatcher1<java.util.List<T1>>repeat(int min, int max, PathMatcher0 separator)PathMatcher1<T1>slash()PathMatcher1<T1>slash(PathMatcher0 next)<N> PathMatcher2<T1,N>slash(PathMatcher1<N> next)<N1,N2>
PathMatcher3<T1,N1,N2>slash(PathMatcher2<N1,N2> next)PathMatcher1<T1>slash(java.lang.String segment)PathMatcher<scala.Tuple1<T1>>toScala()
-
-
-
Constructor Detail
-
PathMatcher1
public PathMatcher1(PathMatcher<scala.Tuple1<T1>> toScala)
-
-
Method Detail
-
concat
public PathMatcher1<T1> concat(java.lang.String segment)
-
concat
public PathMatcher1<T1> concat(PathMatcher0 next)
-
concat
public <N> PathMatcher2<T1,N> concat(PathMatcher1<N> next)
-
concat
public <N1,N2> PathMatcher3<T1,N1,N2> concat(PathMatcher2<N1,N2> next)
-
invert
public PathMatcher0 invert()
-
map
public <U> PathMatcher1<U> map(java.util.function.Function<T1,U> f)
-
orElse
public PathMatcher1<T1> orElse(PathMatcher1<T1> alternative)
-
repeat
public PathMatcher1<java.util.List<T1>> repeat(int min, int max)
-
repeat
public PathMatcher1<java.util.List<T1>> repeat(int min, int max, PathMatcher0 separator)
-
slash
public PathMatcher1<T1> slash()
-
slash
public PathMatcher1<T1> slash(java.lang.String segment)
-
slash
public PathMatcher1<T1> slash(PathMatcher0 next)
-
slash
public <N> PathMatcher2<T1,N> slash(PathMatcher1<N> next)
-
slash
public <N1,N2> PathMatcher3<T1,N1,N2> slash(PathMatcher2<N1,N2> next)
-
toScala
public PathMatcher<scala.Tuple1<T1>> toScala()
-
-