| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_CHARSET |
static String |
KEY_CONNECT_TIMEOUT |
static String |
KEY_CONTENT_LENGTH |
static String |
KEY_CONTENT_TYPE |
static String |
KEY_DO_INPUT |
static String |
KEY_DO_OUTPUT |
static String |
KEY_INSTANCE_FOLLOW_REDIRECTS |
static String |
KEY_READ_TIMEOUT |
static String |
KEY_REQUEST_METHOD |
static String |
KEY_USE_CACHES |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
Headers() |
Headers(Hashtable<String,Object> hash)
Constructs a new Headers object indicated by the Hashtable
parameter
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCharset() |
Integer |
getConnectTimeout() |
Integer |
getContentLength() |
String |
getContentType() |
Boolean |
getDoInput() |
Boolean |
getDoOutput() |
Boolean |
getInstanceFollowRedirects() |
Integer |
getReadTimeout() |
String |
getRequestMethod() |
Boolean |
getUseCaches() |
Headers |
setCharset(String charset) |
Headers |
setConnectTimeout(Integer connectionTimeout) |
Headers |
setContentLength(Integer contentLength) |
Headers |
setContentType(String contentType) |
Headers |
setDoInput(Boolean doInput) |
Headers |
setDoOutput(Boolean doOutput) |
Headers |
setInstanceFollowRedirects(Boolean instanceFollowRedirects) |
Headers |
setReadTimeout(Integer readTimeout) |
Headers |
setRequestMethod(String requestMethod) |
Headers |
setUseCaches(Boolean usesCaches) |
clone, deserializeJSON, equals, format, formatObject, getBoolean, getBulkData, getDouble, getFloat, getInteger, getLong, getMessageTypeName, getObject, getStore, getStoreValue, getString, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_CONTENT_TYPE
public static final String KEY_CONNECT_TIMEOUT
public static final String KEY_DO_OUTPUT
public static final String KEY_DO_INPUT
public static final String KEY_USE_CACHES
public static final String KEY_REQUEST_METHOD
public static final String KEY_READ_TIMEOUT
public static final String KEY_INSTANCE_FOLLOW_REDIRECTS
public static final String KEY_CHARSET
public static final String KEY_CONTENT_LENGTH
public String getContentType()
public Integer getConnectTimeout()
public Boolean getDoOutput()
public Boolean getDoInput()
public Boolean getUseCaches()
public String getRequestMethod()
public Integer getReadTimeout()
public Headers setInstanceFollowRedirects(Boolean instanceFollowRedirects)
public Boolean getInstanceFollowRedirects()
public String getCharset()
public Integer getContentLength()