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
Nested Classes Modifier and Type Interface Description static class
PathMatchers.HexIntNumber$
static class
PathMatchers.HexLongNumber$
static class
PathMatchers.IntNumber$
static class
PathMatchers.LongNumber$
static class
PathMatchers.NumberMatcher<T>
static class
PathMatchers.PathEnd$
static class
PathMatchers.Remaining$
static class
PathMatchers.RemainingPath$
static class
PathMatchers.Segment$
static class
PathMatchers.Slash$
A PathMatcher that matches a single slash character ('/').
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PathMatcher<scala.Tuple1<java.lang.Object>>
DoubleNumber()
PathMatchers.HexIntNumber$
HexIntNumber()
Accessor for nested Scala objectPathMatchers.HexLongNumber$
HexLongNumber()
Accessor for nested Scala objectPathMatchers.IntNumber$
IntNumber()
Accessor for nested Scala objectPathMatcher<scala.Tuple1<java.util.UUID>>
JavaUUID()
PathMatchers.LongNumber$
LongNumber()
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.PathMatchers.PathEnd$
PathEnd()
Accessor for nested Scala objectPathMatchers.Remaining$
Remaining()
Accessor for nested Scala objectPathMatchers.RemainingPath$
RemainingPath()
Accessor for nested Scala objectPathMatchers.Segment$
Segment()
Accessor for nested Scala objectPathMatcher<scala.Tuple1<scala.collection.immutable.List<java.lang.String>>>
Segments()
PathMatcher<scala.Tuple1<scala.collection.immutable.List<java.lang.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<java.lang.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(java.lang.String string)
Converts a path string containing slashes into a PathMatcher that interprets slashes as path segment separators.PathMatchers.Slash$
Slash()
Accessor for nested Scala object
-
-
-
Method Detail
-
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
PathMatcher<scala.runtime.BoxedUnit> not(PathMatcher<?> self)
-
separateOnSlashes
PathMatcher<scala.runtime.BoxedUnit> separateOnSlashes(java.lang.String string)
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<java.lang.Object>> DoubleNumber()
-
JavaUUID
PathMatcher<scala.Tuple1<java.util.UUID>> JavaUUID()
-
Neutral
PathMatcher<scala.runtime.BoxedUnit> Neutral()
-
Segments
PathMatcher<scala.Tuple1<scala.collection.immutable.List<java.lang.String>>> Segments()
-
Segments
PathMatcher<scala.Tuple1<scala.collection.immutable.List<java.lang.String>>> Segments(int count)
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
PathMatcher<scala.Tuple1<scala.collection.immutable.List<java.lang.String>>> Segments(int min, int max)
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
<L> PathMatcher<L> nothingMatcher(Tuple<L> evidence$19)
A PathMatcher that never matches anything.- Parameters:
evidence$19
- (undocumented)- Returns:
- (undocumented)
-
-