Package akka.http.scaladsl.model
Class Uri.Path$.Segment
- java.lang.Object
-
- akka.http.scaladsl.model.Uri.Path
-
- akka.http.scaladsl.model.Uri.Path$.Segment
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- Uri.Path$
public static final class Uri.Path$.Segment extends Uri.Path implements scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Segment(java.lang.String head, akka.http.scaladsl.model.Uri.Path.SlashOrEmpty tail)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
charCount()
Uri.Path
dropChars(int count)
java.lang.String
head()
boolean
isEmpty()
int
length()
Uri.Path
reverseAndPrependTo(Uri.Path prefix)
boolean
startsWith(Uri.Path that)
boolean
startsWithSegment()
boolean
startsWithSlash()
akka.http.scaladsl.model.Uri.Path.SlashOrEmpty
tail()
-
Methods inherited from class akka.http.scaladsl.model.Uri.Path
endsWith, endsWithSlash, reverse, toString
-
-
-
-
Method Detail
-
head
public java.lang.String head()
-
tail
public akka.http.scaladsl.model.Uri.Path.SlashOrEmpty tail()
-
startsWithSlash
public boolean startsWithSlash()
- Specified by:
startsWithSlash
in classUri.Path
-
startsWithSegment
public boolean startsWithSegment()
- Specified by:
startsWithSegment
in classUri.Path
-
reverseAndPrependTo
public Uri.Path reverseAndPrependTo(Uri.Path prefix)
- Specified by:
reverseAndPrependTo
in classUri.Path
-
startsWith
public boolean startsWith(Uri.Path that)
- Specified by:
startsWith
in classUri.Path
-
-