Package akka.http.javadsl.server
Class PathMatcher2<T1,T2>
- java.lang.Object
-
- akka.http.javadsl.server.PathMatcher2<T1,T2>
-
public final class PathMatcher2<T1,T2> 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 PathMatcher2(PathMatcher<scala.Tuple2<T1,T2>> toScala)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PathMatcher2<T1,T2>concat(PathMatcher0 next)<N> PathMatcher3<T1,T2,N>concat(PathMatcher1<N> next)<N1,N2>
PathMatcher4<T1,T2,N1,N2>concat(PathMatcher2<N1,N2> next)PathMatcher2<T1,T2>concat(java.lang.String segment)PathMatcher0invert()PathMatcher2<T1,T2>orElse(PathMatcher2<T1,T2> alternative)PathMatcher2<T1,T2>slash()PathMatcher2<T1,T2>slash(PathMatcher0 next)<N> PathMatcher3<T1,T2,N>slash(PathMatcher1<N> next)<N1,N2>
PathMatcher4<T1,T2,N1,N2>slash(PathMatcher2<N1,N2> next)PathMatcher2<T1,T2>slash(java.lang.String segment)PathMatcher<scala.Tuple2<T1,T2>>toScala()
-
-
-
Constructor Detail
-
PathMatcher2
public PathMatcher2(PathMatcher<scala.Tuple2<T1,T2>> toScala)
-
-
Method Detail
-
concat
public PathMatcher2<T1,T2> concat(java.lang.String segment)
-
concat
public PathMatcher2<T1,T2> concat(PathMatcher0 next)
-
concat
public <N> PathMatcher3<T1,T2,N> concat(PathMatcher1<N> next)
-
concat
public <N1,N2> PathMatcher4<T1,T2,N1,N2> concat(PathMatcher2<N1,N2> next)
-
invert
public PathMatcher0 invert()
-
orElse
public PathMatcher2<T1,T2> orElse(PathMatcher2<T1,T2> alternative)
-
slash
public PathMatcher2<T1,T2> slash()
-
slash
public PathMatcher2<T1,T2> slash(java.lang.String segment)
-
slash
public PathMatcher2<T1,T2> slash(PathMatcher0 next)
-
slash
public <N> PathMatcher3<T1,T2,N> slash(PathMatcher1<N> next)
-
slash
public <N1,N2> PathMatcher4<T1,T2,N1,N2> slash(PathMatcher2<N1,N2> next)
-
toScala
public PathMatcher<scala.Tuple2<T1,T2>> toScala()
-
-