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 TypeMethodDescriptionintdropChars(int count) head()booleanisEmpty()intlength()reverseAndPrependTo(Uri.Path prefix) booleanstartsWith(Uri.Path that) booleanbooleanorg.apache.pekko.http.scaladsl.model.Uri.Path.SlashOrEmptytail()Methods inherited from class org.apache.pekko.http.scaladsl.model.Uri.Path
endsWith, endsWithSlash, reverse, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods 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:
startsWithSlashin classUri.Path
-
startsWithSegment
public boolean startsWithSegment()- Specified by:
startsWithSegmentin classUri.Path
-
length
public int length() -
charCount
public int charCount() -
reverseAndPrependTo
- Specified by:
reverseAndPrependToin classUri.Path
-
startsWith
- Specified by:
startsWithin classUri.Path
-
dropChars
-