public class HttpHeaderCollection extends BaseObject
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<character,object<? extends HttpHeader>> |
headers
Header by name map
|
| Constructor and Description |
|---|
HttpHeaderCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
__net_http_HttpHeaderCollection_constructor__()
Constructor.
|
void |
__net_http_HttpHeaderCollection_execute__()
Execute method.
|
void |
clear_()
Removes all headers from this message.
|
object<? extends HttpHeader> |
get(character _p1)
Returns a named header.
|
integer |
getAll(OutputExtentParameter<object<? extends HttpHeader>> _p1)
Returns all the headers (Names and values).
|
integer |
getSize() |
logical |
has(character _p1)
Indicates whether a header exists for this message or not.
|
void |
put_1(object<? extends HttpHeaderCollection> _p1)
Adds a set of headers to this collection.
|
void |
put(object<? extends HttpHeader> _p1)
Adds a header to this collection.
|
void |
put(object<? extends HttpHeader>[] _p1)
Adds a set of headers to this collection.
|
void |
remove(character _p1)
Removes a header from the collection of message headers.
|
__isValidInternal__, __lang_BaseObject_constructor__, __setValidInternal__, assertNotNull, assertNotNull, getLegacyClass, getNextSibling, getPrevSibling, legacyClone, legacyEquals, toLegacyStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisTrackedprotected final java.util.Map<character,object<? extends HttpHeader>> headers
public void __net_http_HttpHeaderCollection_execute__()
public void __net_http_HttpHeaderCollection_constructor__()
public integer getSize()
public void clear_()
public object<? extends HttpHeader> get(character _p1)
_p1 - The name of the header to retrieve.public integer getAll(OutputExtentParameter<object<? extends HttpHeader>> _p1)
_p1 - An array of headers.public logical has(character _p1)
_p1 - The name of a header to check.true if this message contains the headerpublic void put(object<? extends HttpHeader> _p1)
_p1 - The header.public void put(object<? extends HttpHeader>[] _p1)
_p1 - The headers.public void put_1(object<? extends HttpHeaderCollection> _p1)
_p1 - The header collection.public void remove(character _p1)
_p1 - The name of the header to remove.