|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.latka.http.RequestHeadersImpl
public class RequestHeadersImpl
Implementation of RequestHeaders
that stores its name-value pairs
in a list
Field Summary | |
---|---|
protected List |
_list
The list of headers. |
Constructor Summary | |
---|---|
protected |
RequestHeadersImpl()
Protected access, headers can only be copied from request to request. |
Method Summary | |
---|---|
void |
addHeader(String headerName,
String headerValue)
Defined in interface |
List |
getHeaders()
Defined in interface |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List _list
Constructor Detail |
---|
protected RequestHeadersImpl()
Method Detail |
---|
public void addHeader(String headerName, String headerValue)
addHeader
in interface RequestHeaders
headerName
- name of the header to be addedheaderValue
- value of the header to be addedRequestHeaders.addHeader(String,String)
public List getHeaders()
getHeaders
in interface RequestHeaders
RequestHeaders.getHeaders()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |