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:
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
akka.http.scaladsl.model.Uri.Path.SlashOrEmpty
tail()
Methods inherited from class akka.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 akka.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
-