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 SummaryConstructors
- 
Method SummaryModifier 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.PathendsWith, endsWithSlash, reverse, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator, productPrefix
- 
Constructor Details- 
Segment
 
- 
- 
Method Details- 
head
- 
tailpublic org.apache.pekko.http.scaladsl.model.Uri.Path.SlashOrEmpty tail()
- 
isEmptypublic boolean isEmpty()
- 
startsWithSlashpublic boolean startsWithSlash()- Specified by:
- startsWithSlashin class- Uri.Path
 
- 
startsWithSegmentpublic boolean startsWithSegment()- Specified by:
- startsWithSegmentin class- Uri.Path
 
- 
lengthpublic int length()
- 
charCountpublic int charCount()
- 
reverseAndPrependTo- Specified by:
- reverseAndPrependToin class- Uri.Path
 
- 
startsWith- Specified by:
- startsWithin class- Uri.Path
 
- 
dropChars
 
-