Class Uri.Path$.Segment
java.lang.Object
org.apache.pekko.http.scaladsl.model.Uri.Path
org.apache.pekko.http.scaladsl.model.Uri.Path$.Segment
- All Implemented Interfaces:
Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- Uri.Path$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
dropChars
(int count) head()
boolean
isEmpty()
int
length()
reverseAndPrependTo
(Uri.Path prefix) boolean
startsWith
(Uri.Path that) boolean
boolean
org.apache.pekko.http.scaladsl.model.Uri.Path.SlashOrEmpty
tail()
Methods inherited from class org.apache.pekko.http.scaladsl.model.Uri.Path
endsWith, endsWithSlash, reverse, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
Segment
-
-
Method Details
-
head
-
tail
public org.apache.pekko.http.scaladsl.model.Uri.Path.SlashOrEmpty tail() -
isEmpty
public boolean isEmpty() -
startsWithSlash
public boolean startsWithSlash()- Specified by:
startsWithSlash
in classUri.Path
-
startsWithSegment
public boolean startsWithSegment()- Specified by:
startsWithSegment
in classUri.Path
-
length
public int length() -
charCount
public int charCount() -
reverseAndPrependTo
- Specified by:
reverseAndPrependTo
in classUri.Path
-
startsWith
- Specified by:
startsWith
in classUri.Path
-
dropChars
-