Package com.linkedin.alpini.netty4.http2
Class Http1Headers
java.lang.Object
io.netty.handler.codec.http.HttpHeaders
com.linkedin.alpini.netty4.http2.Http1Headers
public class Http1Headers
extends io.netty.handler.codec.http.HttpHeaders
-
Nested Class Summary
Nested classes/interfaces inherited from class io.netty.handler.codec.http.HttpHeaders
io.netty.handler.codec.http.HttpHeaders.Names, io.netty.handler.codec.http.HttpHeaders.Values
-
Field Summary
Fields inherited from class io.netty.handler.codec.http.HttpHeaders
EMPTY_HEADERS
-
Constructor Summary
ConstructorDescriptionHttp1Headers
(boolean validateCopies) Http1Headers
(io.netty.handler.codec.http2.Http2Headers headers, boolean validateCopies) -
Method Summary
Modifier and TypeMethodDescriptionio.netty.handler.codec.http.HttpHeaders
add
(io.netty.handler.codec.http.HttpHeaders headers) io.netty.handler.codec.http.HttpHeaders
add
(CharSequence name, Iterable<?> values) io.netty.handler.codec.http.HttpHeaders
add
(CharSequence name, Object value) io.netty.handler.codec.http.HttpHeaders
io.netty.handler.codec.http.HttpHeaders
io.netty.handler.codec.http.HttpHeaders
addInt
(CharSequence name, int value) io.netty.handler.codec.http.HttpHeaders
addShort
(CharSequence name, short value) io.netty.handler.codec.http.HttpHeaders
clear()
boolean
contains
(CharSequence name) boolean
contains
(CharSequence name, CharSequence value, boolean ignoreCase) boolean
boolean
copy()
entries()
get
(CharSequence name) get
(CharSequence name, String defaultValue) getAll
(CharSequence name) io.netty.handler.codec.http2.Http2Headers
getInt
(CharSequence name) int
getInt
(CharSequence name, int defaultValue) getShort
(CharSequence name) short
getShort
(CharSequence name, short defaultValue) getTimeMillis
(CharSequence name) long
getTimeMillis
(CharSequence name, long defaultValue) boolean
isEmpty()
protected boolean
iterator()
names()
io.netty.handler.codec.http.HttpHeaders
remove
(CharSequence name) io.netty.handler.codec.http.HttpHeaders
io.netty.handler.codec.http.HttpHeaders
set
(io.netty.handler.codec.http.HttpHeaders headers) io.netty.handler.codec.http.HttpHeaders
set
(CharSequence name, Iterable<?> values) io.netty.handler.codec.http.HttpHeaders
set
(CharSequence name, Object value) io.netty.handler.codec.http.HttpHeaders
io.netty.handler.codec.http.HttpHeaders
io.netty.handler.codec.http.HttpHeaders
setAll
(io.netty.handler.codec.http.HttpHeaders headers) io.netty.handler.codec.http.HttpHeaders
setInt
(CharSequence name, int value) io.netty.handler.codec.http.HttpHeaders
setShort
(CharSequence name, short value) int
size()
Iterator<? extends CharSequence>
Methods inherited from class io.netty.handler.codec.http.HttpHeaders
addDateHeader, addDateHeader, addHeader, addHeader, addIntHeader, addIntHeader, clearHeaders, containsValue, encodeAscii, equalsIgnoreCase, getAllAsString, getAsString, getContentLength, getContentLength, getDate, getDate, getDateHeader, getDateHeader, getDateHeader, getDateHeader, getHeader, getHeader, getHeader, getHeader, getHost, getHost, getIntHeader, getIntHeader, getIntHeader, getIntHeader, is100ContinueExpected, isContentLengthSet, isKeepAlive, isTransferEncodingChunked, iteratorAsString, newEntity, removeHeader, removeHeader, removeTransferEncodingChunked, set100ContinueExpected, set100ContinueExpected, setContentLength, setDate, setDateHeader, setDateHeader, setDateHeader, setDateHeader, setHeader, setHeader, setHeader, setHeader, setHost, setHost, setIntHeader, setIntHeader, setIntHeader, setIntHeader, setKeepAlive, setTransferEncodingChunked, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
Http1Headers
public Http1Headers(boolean validateCopies) -
Http1Headers
public Http1Headers(io.netty.handler.codec.http2.Http2Headers headers, boolean validateCopies)
-
-
Method Details
-
getHttp2Headers
public io.netty.handler.codec.http2.Http2Headers getHttp2Headers() -
get
- Specified by:
get
in classio.netty.handler.codec.http.HttpHeaders
-
get
- Overrides:
get
in classio.netty.handler.codec.http.HttpHeaders
-
get
- Overrides:
get
in classio.netty.handler.codec.http.HttpHeaders
-
getInt
- Specified by:
getInt
in classio.netty.handler.codec.http.HttpHeaders
-
getInt
- Specified by:
getInt
in classio.netty.handler.codec.http.HttpHeaders
-
getShort
- Specified by:
getShort
in classio.netty.handler.codec.http.HttpHeaders
-
getShort
- Specified by:
getShort
in classio.netty.handler.codec.http.HttpHeaders
-
getTimeMillis
- Specified by:
getTimeMillis
in classio.netty.handler.codec.http.HttpHeaders
-
getTimeMillis
- Specified by:
getTimeMillis
in classio.netty.handler.codec.http.HttpHeaders
-
getAll
- Specified by:
getAll
in classio.netty.handler.codec.http.HttpHeaders
-
getAll
- Overrides:
getAll
in classio.netty.handler.codec.http.HttpHeaders
-
entries
- Specified by:
entries
in classio.netty.handler.codec.http.HttpHeaders
-
contains
- Specified by:
contains
in classio.netty.handler.codec.http.HttpHeaders
-
contains
- Overrides:
contains
in classio.netty.handler.codec.http.HttpHeaders
-
iterator
-
iteratorCharSequence
- Specified by:
iteratorCharSequence
in classio.netty.handler.codec.http.HttpHeaders
-
valueStringIterator
- Overrides:
valueStringIterator
in classio.netty.handler.codec.http.HttpHeaders
-
valueCharSequenceIterator
- Overrides:
valueCharSequenceIterator
in classio.netty.handler.codec.http.HttpHeaders
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in classio.netty.handler.codec.http.HttpHeaders
-
size
public int size()- Specified by:
size
in classio.netty.handler.codec.http.HttpHeaders
-
isVisible
-
names
- Specified by:
names
in classio.netty.handler.codec.http.HttpHeaders
-
add
- Specified by:
add
in classio.netty.handler.codec.http.HttpHeaders
-
add
- Overrides:
add
in classio.netty.handler.codec.http.HttpHeaders
-
add
- Specified by:
add
in classio.netty.handler.codec.http.HttpHeaders
-
add
- Overrides:
add
in classio.netty.handler.codec.http.HttpHeaders
-
add
public io.netty.handler.codec.http.HttpHeaders add(io.netty.handler.codec.http.HttpHeaders headers) - Overrides:
add
in classio.netty.handler.codec.http.HttpHeaders
-
addInt
- Specified by:
addInt
in classio.netty.handler.codec.http.HttpHeaders
-
addShort
- Specified by:
addShort
in classio.netty.handler.codec.http.HttpHeaders
-
set
- Specified by:
set
in classio.netty.handler.codec.http.HttpHeaders
-
set
- Overrides:
set
in classio.netty.handler.codec.http.HttpHeaders
-
set
- Specified by:
set
in classio.netty.handler.codec.http.HttpHeaders
-
set
- Overrides:
set
in classio.netty.handler.codec.http.HttpHeaders
-
set
public io.netty.handler.codec.http.HttpHeaders set(io.netty.handler.codec.http.HttpHeaders headers) - Overrides:
set
in classio.netty.handler.codec.http.HttpHeaders
-
setAll
public io.netty.handler.codec.http.HttpHeaders setAll(io.netty.handler.codec.http.HttpHeaders headers) - Overrides:
setAll
in classio.netty.handler.codec.http.HttpHeaders
-
setInt
- Specified by:
setInt
in classio.netty.handler.codec.http.HttpHeaders
-
setShort
- Specified by:
setShort
in classio.netty.handler.codec.http.HttpHeaders
-
remove
- Specified by:
remove
in classio.netty.handler.codec.http.HttpHeaders
-
remove
- Overrides:
remove
in classio.netty.handler.codec.http.HttpHeaders
-
clear
public io.netty.handler.codec.http.HttpHeaders clear()- Specified by:
clear
in classio.netty.handler.codec.http.HttpHeaders
-
contains
- Overrides:
contains
in classio.netty.handler.codec.http.HttpHeaders
-
contains
- Overrides:
contains
in classio.netty.handler.codec.http.HttpHeaders
-
copy
- Overrides:
copy
in classio.netty.handler.codec.http.HttpHeaders
-