Package com.linkedin.alpini.base.misc
Interface Headers
-
- All Superinterfaces:
java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.lang.String>>
- All Known Implementing Classes:
BasicHeaders
public interface Headers extends java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.lang.String>>
-
-
Field Summary
Fields Modifier and Type Field Description static Headers
EMPTY_HEADERS
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Headers
add(java.lang.CharSequence name, int value)
default Headers
add(java.lang.CharSequence name, long 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.CharSequence,java.lang.CharSequence>>
iteratorCharSequence()
Headers
remove(java.lang.CharSequence name)
default Headers
set(java.lang.CharSequence name, int value)
default Headers
set(java.lang.CharSequence name, long value)
Headers
set(java.lang.CharSequence name, java.lang.Object value)
default Headers
set(java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.lang.String>> entries)
-
-
-
Field Detail
-
EMPTY_HEADERS
static final Headers EMPTY_HEADERS
-
-
Method Detail
-
isEmpty
boolean isEmpty()
-
add
Headers add(java.lang.CharSequence name, java.lang.Object value)
-
add
default Headers add(java.lang.CharSequence name, int value)
-
add
default Headers add(java.lang.CharSequence name, long value)
-
set
Headers set(java.lang.CharSequence name, java.lang.Object value)
-
set
default Headers set(java.lang.CharSequence name, int value)
-
set
default Headers set(java.lang.CharSequence name, long value)
-
set
default Headers set(java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.lang.String>> entries)
-
remove
Headers remove(java.lang.CharSequence name)
-
getAll
java.util.List<java.lang.CharSequence> getAll(java.lang.CharSequence name)
-
get
java.lang.CharSequence get(java.lang.CharSequence name)
-
contains
boolean contains(java.lang.CharSequence name)
-
contains
boolean contains(java.lang.CharSequence name, java.lang.CharSequence value, boolean ignoreCase)
-
iteratorCharSequence
java.util.Iterator<java.util.Map.Entry<java.lang.CharSequence,java.lang.CharSequence>> iteratorCharSequence()
-
-