Package de.srsoftware.tools
Klasse Path
- Alle implementierten Schnittstellen:
Serializable,Cloneable,Iterable<String>,Collection<String>,List<String>,RandomAccess,SequencedCollection<String>
This class represents a path given in an http request as stack of strings.
- Siehe auch:
-
Feldübersicht
Von Klasse geerbte Felder java.util.Vector
capacityIncrement, elementCount, elementDataVon Klasse geerbte Felder java.util.AbstractList
modCount -
Methodenübersicht
Von Klasse geerbte Methoden java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, trimToSizeVon Klasse geerbte Methoden java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden java.util.Collection
parallelStream, stream, toArrayVon Schnittstelle geerbte Methoden java.util.List
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, reversed
-
Methodendetails
-
clone
-
endsWith
checks whether this path ends with the given string- Parameter:
s- the string to compare to- Gibt zurück:
- true, only if the last component of this path stack ends with the given string
-
equals
checks, whether this path equals the given string- Parameter:
s- the string to compare against- Gibt zurück:
- true only if the path has exactly one component and that component matches s
-
of
create a new String stack from a given path- Parameter:
requestPath- the path to parse into the stack- Gibt zurück:
- the stack consisting of the slash-separated tokens of the input
-
pop
-
peek
-
toString
-