- com
- pcbsys
- nirvana
- client
- CustomHTTPRequestHeader
This class represents a http header. More...
Data Structures | |
enum | HeaderConnectionScope |
Scope of usage of the header. More... | |
Public Member Functions | |
CustomHTTPRequestHeader (String header, String value, HeaderConnectionScope headerScope) | |
CustomHTTPRequestHeader (String header, String value) | |
This class represents a http header.
It consists of key value pair and the scope of usage of the header.
com.pcbsys.nirvana.client.CustomHTTPRequestHeader.CustomHTTPRequestHeader | ( | String | header, |
String | value, | ||
HeaderConnectionScope | headerScope | ||
) |
header | name of the header field |
value | value of the header field |
headerScope | describes in which http request the header should be used |
com.pcbsys.nirvana.client.CustomHTTPRequestHeader.CustomHTTPRequestHeader | ( | String | header, |
String | value | ||
) |
header | name of the header field |
value | value of the header field This constructor will initialize the object with the default scope which is HeaderConnectionScope.ALL_CONNECTIONS |