Package com.linkedin.alpini.netty4.misc
Class BasicHeaders
- java.lang.Object
-
- com.linkedin.alpini.netty4.misc.BasicHeaders
-
-
Field Summary
-
Fields inherited from interface com.linkedin.alpini.base.misc.Headers
EMPTY_HEADERS
-
-
Constructor Summary
Constructors Constructor Description BasicHeaders(io.netty.handler.codec.http.HttpHeaders headers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Headers
add(java.lang.CharSequence name, int value)
Headers
add(java.lang.CharSequence name, java.lang.Object value)
boolean
contains(java.lang.CharSequence name)
boolean
contains(java.lang.CharSequence name, java.lang.CharSequence value, boolean ignoreCase)
java.lang.CharSequence
get(java.lang.CharSequence name)
java.util.List<java.lang.CharSequence>
getAll(java.lang.CharSequence name)
boolean
isEmpty()
java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>>
iterator()
java.util.Iterator<java.util.Map.Entry<java.lang.CharSequence,java.lang.CharSequence>>
iteratorCharSequence()
Headers
remove(java.lang.CharSequence name)
Headers
set(java.lang.CharSequence name, int value)
Headers
set(java.lang.CharSequence name, java.lang.Object value)
Headers
set(java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.lang.String>> entries)
-
-
-
Method Detail
-
add
public Headers add(java.lang.CharSequence name, java.lang.Object value)
-
add
public Headers add(java.lang.CharSequence name, int value)
-
set
public Headers set(java.lang.CharSequence name, java.lang.Object value)
-
set
public Headers set(java.lang.CharSequence name, int value)
-
set
public Headers set(java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.lang.String>> entries)
-
remove
public Headers remove(java.lang.CharSequence name)
-
getAll
public java.util.List<java.lang.CharSequence> getAll(java.lang.CharSequence name)
-
get
public java.lang.CharSequence get(java.lang.CharSequence name)
-
contains
public boolean contains(java.lang.CharSequence name)
-
contains
public boolean contains(java.lang.CharSequence name, java.lang.CharSequence value, boolean ignoreCase)
-
iterator
public java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<java.util.Map.Entry<java.lang.String,java.lang.String>>
-
iteratorCharSequence
public java.util.Iterator<java.util.Map.Entry<java.lang.CharSequence,java.lang.CharSequence>> iteratorCharSequence()
- Specified by:
iteratorCharSequence
in interfaceHeaders
-
-