Package akka.http.scaladsl.server
Interface PathMatchers
- All Known Subinterfaces:
Directives
,PathDirectives
- All Known Implementing Classes:
Directives$
,HttpApp
,PathDirectives$
,PathMatchers$
public interface PathMatchers
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static class
static class
static class
static class
static class
static class
static class
static class
static class
A PathMatcher that matches a single slash character ('/'). -
Method Summary
Modifier and TypeMethodDescriptionPathMatcher<scala.Tuple1<Object>>
Accessor for nested Scala objectAccessor for nested Scala objectAccessor for nested Scala objectPathMatcher<scala.Tuple1<UUID>>
JavaUUID()
Accessor for nested Scala objectPathMatcher<scala.runtime.BoxedUnit>
Neutral()
PathMatcher<scala.runtime.BoxedUnit>
not
(PathMatcher<?> self) <L> PathMatcher<L>
nothingMatcher
(Tuple<L> evidence$19) A PathMatcher that never matches anything.PathEnd()
Accessor for nested Scala objectAccessor for nested Scala objectAccessor for nested Scala objectSegment()
Accessor for nested Scala objectPathMatcher<scala.Tuple1<scala.collection.immutable.List<String>>>
Segments()
PathMatcher<scala.Tuple1<scala.collection.immutable.List<String>>>
Segments
(int count) A PathMatcher that matches the given number of path segments (separated by slashes) as a List[String].PathMatcher<scala.Tuple1<scala.collection.immutable.List<String>>>
Segments
(int min, int max) A PathMatcher that matches betweenmin
andmax
(both inclusively) path segments (separated by slashes) as a List[String].PathMatcher<scala.runtime.BoxedUnit>
separateOnSlashes
(String string) Converts a path string containing slashes into a PathMatcher that interprets slashes as path segment separators.Slash()
Accessor for nested Scala object
-
Method Details
-
Slash
PathMatchers.Slash$ Slash()Accessor for nested Scala object- Returns:
- (undocumented)
-
PathEnd
PathMatchers.PathEnd$ PathEnd()Accessor for nested Scala object- Returns:
- (undocumented)
-
Remaining
PathMatchers.Remaining$ Remaining()Accessor for nested Scala object- Returns:
- (undocumented)
-
RemainingPath
PathMatchers.RemainingPath$ RemainingPath()Accessor for nested Scala object- Returns:
- (undocumented)
-
IntNumber
PathMatchers.IntNumber$ IntNumber()Accessor for nested Scala object- Returns:
- (undocumented)
-
LongNumber
PathMatchers.LongNumber$ LongNumber()Accessor for nested Scala object- Returns:
- (undocumented)
-
HexIntNumber
PathMatchers.HexIntNumber$ HexIntNumber()Accessor for nested Scala object- Returns:
- (undocumented)
-
HexLongNumber
PathMatchers.HexLongNumber$ HexLongNumber()Accessor for nested Scala object- Returns:
- (undocumented)
-
Segment
PathMatchers.Segment$ Segment()Accessor for nested Scala object- Returns:
- (undocumented)
-
not
-
separateOnSlashes
Converts a path string containing slashes into a PathMatcher that interprets slashes as path segment separators.- Parameters:
string
- (undocumented)- Returns:
- (undocumented)
-
DoubleNumber
PathMatcher<scala.Tuple1<Object>> DoubleNumber() -
JavaUUID
PathMatcher<scala.Tuple1<UUID>> JavaUUID() -
Neutral
PathMatcher<scala.runtime.BoxedUnit> Neutral() -
Segments
PathMatcher<scala.Tuple1<scala.collection.immutable.List<String>>> Segments() -
Segments
A PathMatcher that matches the given number of path segments (separated by slashes) as a List[String]. If there are more thancount
segments present the remaining ones will be left unmatched. If the path has a trailing slash this slash will *not* be matched.- Parameters:
count
- (undocumented)- Returns:
- (undocumented)
-
Segments
A PathMatcher that matches betweenmin
andmax
(both inclusively) path segments (separated by slashes) as a List[String]. If there are more thancount
segments present the remaining ones will be left unmatched. If the path has a trailing slash this slash will *not* be matched.- Parameters:
min
- (undocumented)max
- (undocumented)- Returns:
- (undocumented)
-
nothingMatcher
A PathMatcher that never matches anything.- Parameters:
evidence$19
- (undocumented)- Returns:
- (undocumented)
-