Package io.undertow.util
Class HeaderValues
- All Implemented Interfaces:
Iterable<String>,Collection<String>,Deque<String>,List<String>,Queue<String>,RandomAccess
@Deprecated
public final class HeaderValues
extends AbstractCollection<String>
implements Deque<String>, List<String>, RandomAccess
Deprecated.
An array-backed list/deque for header string values.
- Author:
- David M. Lloyd
-
Constructor Summary
ConstructorsConstructorDescriptionHeaderValues(io.netty.handler.codec.http.HttpHeaders headers, String headerName, List<String> currentValues) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.booleanDeprecated.booleanaddAll(int index, Collection<? extends String> c) Deprecated.booleanaddAll(Collection<? extends String> c) Deprecated.voidDeprecated.voidDeprecated.voidclear()Deprecated.booleanDeprecated.Deprecated.element()Deprecated.get(int idx) Deprecated.getFirst()Deprecated.Deprecated.getLast()Deprecated.intDeprecated.booleanisEmpty()Deprecated.iterator()Deprecated.intDeprecated.Deprecated.listIterator(int index) Deprecated.booleanDeprecated.booleanofferFirst(String headerValue) Deprecated.booleanDeprecated.peek()Deprecated.Deprecated.peekLast()Deprecated.poll()Deprecated.Deprecated.pollLast()Deprecated.pop()Deprecated.voidDeprecated.remove()Deprecated.remove(int idx) Deprecated.booleanDeprecated.Deprecated.booleanDeprecated.Deprecated.booleanDeprecated.Deprecated.intsize()Deprecated.subList(int fromIndex, int toIndex) Deprecated.String[]toArray()Deprecated.<T> T[]toArray(T[] a) Deprecated.Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
containsAll, equals, hashCode, removeAll, replaceAll, retainAll, sort, spliterator
-
Constructor Details
-
Method Details
-
getHeaderName
Deprecated. -
size
public int size()Deprecated. -
isEmpty
public boolean isEmpty()Deprecated.- Specified by:
isEmptyin interfaceCollection<String>- Specified by:
isEmptyin interfaceList<String>- Overrides:
isEmptyin classAbstractCollection<String>
-
clear
public void clear()Deprecated.- Specified by:
clearin interfaceCollection<String>- Specified by:
clearin interfaceList<String>- Overrides:
clearin classAbstractCollection<String>
-
listIterator
Deprecated.- Specified by:
listIteratorin interfaceList<String>
-
listIterator
Deprecated.- Specified by:
listIteratorin interfaceList<String>
-
iterator
Deprecated. -
descendingIterator
Deprecated.- Specified by:
descendingIteratorin interfaceDeque<String>
-
offerFirst
Deprecated.- Specified by:
offerFirstin interfaceDeque<String>
-
offerLast
Deprecated. -
pollFirst
Deprecated. -
pollLast
Deprecated. -
remove
Deprecated. -
get
Deprecated. -
indexOf
Deprecated. -
lastIndexOf
Deprecated.- Specified by:
lastIndexOfin interfaceList<String>
-
set
Deprecated. -
addAll
Deprecated. -
subList
Deprecated. -
toArray
Deprecated.- Specified by:
toArrayin interfaceCollection<String>- Specified by:
toArrayin interfaceList<String>- Overrides:
toArrayin classAbstractCollection<String>
-
toArray
public <T> T[] toArray(T[] a) Deprecated.- Specified by:
toArrayin interfaceCollection<String>- Specified by:
toArrayin interfaceList<String>- Overrides:
toArrayin classAbstractCollection<String>
-
addFirst
Deprecated. -
addLast
Deprecated. -
add
Deprecated. -
contains
Deprecated. -
peekFirst
Deprecated. -
peekLast
Deprecated. -
removeFirstOccurrence
Deprecated.- Specified by:
removeFirstOccurrencein interfaceDeque<String>
-
removeLastOccurrence
Deprecated.- Specified by:
removeLastOccurrencein interfaceDeque<String>
-
add
Deprecated. -
push
Deprecated. -
pop
Deprecated. -
offer
Deprecated. -
poll
Deprecated. -
peek
Deprecated. -
remove
Deprecated. -
removeFirst
Deprecated.- Specified by:
removeFirstin interfaceDeque<String>
-
removeLast
Deprecated.- Specified by:
removeLastin interfaceDeque<String>
-
getFirst
Deprecated. -
getLast
Deprecated. -
element
Deprecated. -
remove
Deprecated. -
addAll
Deprecated.
-