Package akka.http.scaladsl.model
Class Uri.Path
- java.lang.Object
-
- akka.http.scaladsl.model.Uri.Path
-
- Direct Known Subclasses:
Uri.Path$.Segment
,Uri.Path$.SlashOrEmpty
- Enclosing class:
- Uri
public abstract static class Uri.Path extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Path()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract int
charCount()
abstract Uri.Path
dropChars(int count)
boolean
endsWith(java.lang.String suffix, boolean ignoreTrailingSlash)
boolean
endsWithSlash()
abstract Uri.Path
head()
abstract boolean
isEmpty()
abstract int
length()
Uri.Path
reverse()
abstract Uri.Path
reverseAndPrependTo(Uri.Path prefix)
abstract boolean
startsWith(Uri.Path that)
abstract boolean
startsWithSegment()
abstract boolean
startsWithSlash()
abstract Uri.Path
tail()
java.lang.String
toString()
-
-
-
Method Detail
-
isEmpty
public abstract boolean isEmpty()
-
startsWithSlash
public abstract boolean startsWithSlash()
-
startsWithSegment
public abstract boolean startsWithSegment()
-
endsWithSlash
public boolean endsWithSlash()
-
endsWith
public final boolean endsWith(java.lang.String suffix, boolean ignoreTrailingSlash)
-
head
public abstract Uri.Path head()
-
tail
public abstract Uri.Path tail()
-
length
public abstract int length()
-
charCount
public abstract int charCount()
-
reverse
public Uri.Path reverse()
-
startsWith
public abstract boolean startsWith(Uri.Path that)
-
dropChars
public abstract Uri.Path dropChars(int count)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-