Package akka.http.scaladsl.server
Class PathMatcher$
- java.lang.Object
-
- akka.http.scaladsl.server.PathMatcher$
-
- All Implemented Interfaces:
ImplicitPathMatcherConstruction
public class PathMatcher$ extends java.lang.Object implements ImplicitPathMatcherConstruction
-
-
Field Summary
Fields Modifier and Type Field Description static PathMatcher$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description PathMatcher$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <L> PathMatcher<L>
apply(Uri.Path prefix, L extractions, Tuple<L> evidence$18)
Creates a PathMatcher that matches and consumes the given path prefix and extracts the given list of extractions.<L> PathMatcher<L>
apply(PathMatcher<L> magnet)
Provoke implicit conversions to PathMatcher to be appliedPathMatcher.Matched<scala.Tuple1<java.lang.String>>
EmptyMatch()
The empty match returned when a Regex matcher matches the empty path<L> PathMatcher<L>
provide(L extractions, Tuple<L> evidence$17)
Creates a PathMatcher that always matches, consumes nothing and extracts the given Tuple of values.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.http.scaladsl.server.ImplicitPathMatcherConstruction
_regex2PathMatcher, _segmentStringToPathMatcher, _stringExtractionPair2PathMatcher, _stringNameOptionReceptacle2PathMatcher, _valueMap2PathMatcher
-
-
-
-
Field Detail
-
MODULE$
public static final PathMatcher$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
provide
public <L> PathMatcher<L> provide(L extractions, Tuple<L> evidence$17)
Creates a PathMatcher that always matches, consumes nothing and extracts the given Tuple of values.- Parameters:
extractions
- (undocumented)evidence$17
- (undocumented)- Returns:
- (undocumented)
-
apply
public <L> PathMatcher<L> apply(Uri.Path prefix, L extractions, Tuple<L> evidence$18)
Creates a PathMatcher that matches and consumes the given path prefix and extracts the given list of extractions. If the given prefix is empty the returned PathMatcher matches always and consumes nothing.- Parameters:
prefix
- (undocumented)extractions
- (undocumented)evidence$18
- (undocumented)- Returns:
- (undocumented)
-
apply
public <L> PathMatcher<L> apply(PathMatcher<L> magnet)
Provoke implicit conversions to PathMatcher to be applied
-
EmptyMatch
public PathMatcher.Matched<scala.Tuple1<java.lang.String>> EmptyMatch()
The empty match returned when a Regex matcher matches the empty path
-
-