public class HttpHeaderCollection extends Object implements Iterable<HttpHeader>
| Modifier and Type | Field and Description |
|---|---|
protected int |
count |
protected HttpHeader[] |
headers |
| Constructor and Description |
|---|
HttpHeaderCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String name,
String value) |
void |
addAll(HttpHeaderCollection headers) |
boolean |
contains(String name) |
String |
get(String name) |
Map<String,String> |
getParams(String name) |
Iterator<HttpHeader> |
iterator() |
void |
remove(String name) |
HttpHeader |
replace(String name,
String value) |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprotected HttpHeader[] headers
protected int count
public int size()
public boolean contains(String name)
public void addAll(HttpHeaderCollection headers)
public HttpHeader replace(String name, String value)
public void remove(String name)
public Iterator<HttpHeader> iterator()
iterator in interface Iterable<HttpHeader>Copyright © 2025. All rights reserved.