Package org.springframework.http.support
Class Netty5HeadersAdapter
java.lang.Object
org.springframework.http.support.Netty5HeadersAdapter
- All Implemented Interfaces:
Map<String,,List<String>> org.springframework.util.MultiValueMap<String,String>
public final class Netty5HeadersAdapter
extends Object
implements org.springframework.util.MultiValueMap<String,String>
MultiValueMap implementation for wrapping Netty HTTP headers.- Since:
- 6.1
- Author:
- Violeta Georgieva
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionNetty5HeadersAdapter(io.netty5.handler.codec.http.headers.HttpHeaders headers) Create a newNetty5HeadersAdapterbased on the givenHttpHeaders. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllMethods inherited from interface org.springframework.util.MultiValueMap
addIfAbsent
-
Constructor Details
-
Netty5HeadersAdapter
public Netty5HeadersAdapter(io.netty5.handler.codec.http.headers.HttpHeaders headers) Create a newNetty5HeadersAdapterbased on the givenHttpHeaders.
-
-
Method Details
-
getFirst
-
add
-
addAll
-
addAll
-
set
-
setAll
-
toSingleValueMap
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<String,List<String>>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,List<String>>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
toString
-