com.ephox.editlive.custom
Class HTTPHeaders
java.lang.Object
com.ephox.editlive.custom.HTTPHeaders
- public class HTTPHeaders
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTPHeaders
public HTTPHeaders()
addRequestHeader
public void addRequestHeader(String headerName,
String headerValue)
- Add the specified request header, NOT overwriting any previous value.
Note that header-name matching is case insensitive.
- Parameters:
headerName - the header's nameheaderValue - the header's value
getHeaders
public List getHeaders()
- Returns the the header List. This list should not be modified directly.
- Returns:
- returns a List containing the headers. Each header is stored as an Array {headerName, headerValue}