Class Uri.Path
java.lang.Object
org.apache.pekko.http.scaladsl.model.Uri.Path
- Direct Known Subclasses:
Uri.Path$.Segment,Uri.Path$.SlashOrEmpty
- Enclosing class:
- Uri
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract intabstract Uri.PathdropChars(int count) final booleanbooleanabstract Uri.Pathhead()abstract booleanisEmpty()abstract intlength()reverse()abstract Uri.PathreverseAndPrependTo(Uri.Path prefix) abstract booleanstartsWith(Uri.Path that) abstract booleanabstract booleanabstract Uri.Pathtail()toString()
-
Constructor Details
-
Path
public Path()
-
-
Method Details
-
isEmpty
public abstract boolean isEmpty() -
startsWithSlash
public abstract boolean startsWithSlash() -
startsWithSegment
public abstract boolean startsWithSegment() -
endsWithSlash
public boolean endsWithSlash() -
endsWith
-
head
-
tail
-
length
public abstract int length() -
charCount
public abstract int charCount() -
reverse
-
reverseAndPrependTo
-
startsWith
-
dropChars
-
toString
-