Package akka.http.scaladsl.server
Class PathMatcher$
java.lang.Object
akka.http.scaladsl.server.PathMatcher$
- All Implemented Interfaces:
ImplicitPathMatcherConstruction
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PathMatcher$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<L> PathMatcher<L>
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<String>>
The empty match returned when a Regex matcher matches the empty path<L> PathMatcher<L>
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 Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
PathMatcher$
public PathMatcher$()
-
-
Method Details
-
provide
Creates a PathMatcher that always matches, consumes nothing and extracts the given Tuple of values.- Parameters:
extractions
- (undocumented)evidence$17
- (undocumented)- Returns:
- (undocumented)
-
apply
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
Provoke implicit conversions to PathMatcher to be applied -
EmptyMatch
The empty match returned when a Regex matcher matches the empty path
-