Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
Android Documentation
Headers

Class Headers

Hierarchy

java.lang.Object
     com.smartdevicelink.proxy.RPCStruct

Package
com.smartdevicelink.proxy.rpc

Fields

KEY_CONTENT_TYPE

public static final java.lang.String KEY_CONTENT_TYPE
Constant Value
"ContentType"

KEY_CONNECT_TIMEOUT

public static final java.lang.String KEY_CONNECT_TIMEOUT
Constant Value
"ConnectTimeout"

KEY_DO_OUTPUT

public static final java.lang.String KEY_DO_OUTPUT
Constant Value
"DoOutput"

KEY_DO_INPUT

public static final java.lang.String KEY_DO_INPUT
Constant Value
"DoInput"

KEY_USE_CACHES

public static final java.lang.String KEY_USE_CACHES
Constant Value
"UseCaches"

KEY_REQUEST_METHOD

public static final java.lang.String KEY_REQUEST_METHOD
Constant Value
"RequestMethod"

KEY_READ_TIMEOUT

public static final java.lang.String KEY_READ_TIMEOUT
Constant Value
"ReadTimeout"

KEY_INSTANCE_FOLLOW_REDIRECTS

public static final java.lang.String KEY_INSTANCE_FOLLOW_REDIRECTS
Constant Value
"InstanceFollowRedirects"

KEY_CHARSET

public static final java.lang.String KEY_CHARSET
Constant Value
"charset"

KEY_CONTENT_LENGTH

public static final java.lang.String KEY_CONTENT_LENGTH
Constant Value
"Content-Length"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

Headers()

public Headers()

Headers( java.util.Hashtable<java.lang.String, java.lang.Object> hash )

Constructs a new Headers object indicated by the Hashtable parameter

public Headers(java.util.Hashtable<java.lang.String, java.lang.Object> hash)

Constructor Parameters

hash
The Hashtable to use

Methods

setContentType( String contentType )

public com.smartdevicelink.proxy.rpc.Headers setContentType(String contentType)

Method Parameters

contentType

getContentType()

public java.lang.String getContentType()

setConnectTimeout( Integer connectionTimeout )

public com.smartdevicelink.proxy.rpc.Headers setConnectTimeout(Integer connectionTimeout)

Method Parameters

connectionTimeout

getConnectTimeout()

public java.lang.Integer getConnectTimeout()

setDoOutput( Boolean doOutput )

public com.smartdevicelink.proxy.rpc.Headers setDoOutput(Boolean doOutput)

Method Parameters

doOutput

getDoOutput()

public java.lang.Boolean getDoOutput()

setDoInput( Boolean doInput )

public com.smartdevicelink.proxy.rpc.Headers setDoInput(Boolean doInput)

Method Parameters

doInput

getDoInput()

public java.lang.Boolean getDoInput()

setUseCaches( Boolean usesCaches )

public com.smartdevicelink.proxy.rpc.Headers setUseCaches(Boolean usesCaches)

Method Parameters

usesCaches

getUseCaches()

public java.lang.Boolean getUseCaches()

setRequestMethod( String requestMethod )

public com.smartdevicelink.proxy.rpc.Headers setRequestMethod(String requestMethod)

Method Parameters

requestMethod

getRequestMethod()

public java.lang.String getRequestMethod()

setReadTimeout( Integer readTimeout )

public com.smartdevicelink.proxy.rpc.Headers setReadTimeout(Integer readTimeout)

Method Parameters

readTimeout

getReadTimeout()

public java.lang.Integer getReadTimeout()

setInstanceFollowRedirects( Boolean instanceFollowRedirects )

public com.smartdevicelink.proxy.rpc.Headers setInstanceFollowRedirects(Boolean instanceFollowRedirects)

Method Parameters

instanceFollowRedirects

getInstanceFollowRedirects()

public java.lang.Boolean getInstanceFollowRedirects()

setCharset( String charset )

public com.smartdevicelink.proxy.rpc.Headers setCharset(String charset)

Method Parameters

charset

getCharset()

public java.lang.String getCharset()

setContentLength( Integer contentLength )

public com.smartdevicelink.proxy.rpc.Headers setContentLength(Integer contentLength)

Method Parameters

contentLength

getContentLength()

public java.lang.Integer getContentLength()

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.RPCStruct getStoreValue, getStore, deserializeJSON, serializeJSON, serializeJSON, format, getBulkData, setBulkData, setPayloadProtected, isPayloadProtected, getMessageTypeName, hasKey, setValue, getValue, getObject, formatObject, getValueForString, getString, getInteger, getDouble, getFloat, getBoolean, getLong, clone, equals, hashCode
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section