public static final class Uri.Path$.Segment extends Uri.Path implements scala.Product, java.io.Serializable
| Constructor and Description |
|---|
Segment(java.lang.String head,
org.apache.pekko.http.scaladsl.model.Uri.Path.SlashOrEmpty tail) |
| Modifier and Type | Method and 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() |
org.apache.pekko.http.scaladsl.model.Uri.Path.SlashOrEmpty |
tail() |
endsWith, endsWithSlash, reverse, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic Segment(java.lang.String head,
org.apache.pekko.http.scaladsl.model.Uri.Path.SlashOrEmpty tail)
public java.lang.String head()
public org.apache.pekko.http.scaladsl.model.Uri.Path.SlashOrEmpty tail()
public boolean startsWithSlash()
startsWithSlash in class Uri.Pathpublic boolean startsWithSegment()
startsWithSegment in class Uri.Pathpublic Uri.Path reverseAndPrependTo(Uri.Path prefix)
reverseAndPrependTo in class Uri.Pathpublic boolean startsWith(Uri.Path that)
startsWith in class Uri.Path