java.lang.Object
com.smartdevicelink.proxy.RPCStruct
com.smartdevicelink.proxy.RPCMessage
com.smartdevicelink.proxy.RPCNotification
Parameter List
Name | Type | Description | Reg. | Notes | Version |
---|---|---|---|---|---|
requestType | RequestType | The type of system request. | Y | SmartDeviceLink 2.3.2 | |
requestSubType | String | This parameter is filled for supporting OEM proprietary data exchanges. | N | Max Length: 255 | SmartDeviceLink 5.0 |
url | Array of Strings | Optional URL for HTTP requests.If blank, the binary data shall be forwarded to the app.If not blank, the binary data shall be forwarded to the url with a provided timeout in seconds. | N | minsize:1; | SmartDeviceLink 2.3.2 |
timeout | Integer | Optional timeout for HTTP requests;Required if a URL is provided | N | minvalue:0; maxvalue: 2000000000 | SmartDeviceLink |
fileType | FileType | Optional file type (meant for HTTP file requests). | N | SmartDeviceLink 2.3.2 | |
offset | Float | Optional offset in bytes for resuming partial data chunks | N | minvalue:0; maxvalue:100000000000 | SmartDeviceLink 2.3.2 |
length | Float | Optional length in bytes for resuming partial data chunks | N | minvalue: 0; maxvalue:100000000000 | SmartDeviceLink 2.3.2 |
public static final java.lang.String KEY_URL_V1
public static final java.lang.String KEY_URL
public static final java.lang.String KEY_TIMEOUT_V1
public static final java.lang.String KEY_TIMEOUT
public static final java.lang.String KEY_HEADERS
public static final java.lang.String KEY_BODY
public static final java.lang.String KEY_FILE_TYPE
public static final java.lang.String KEY_REQUEST_TYPE
public static final java.lang.String KEY_REQUEST_SUB_TYPE
public static final java.lang.String KEY_DATA
public static final java.lang.String KEY_OFFSET
public static final java.lang.String KEY_LENGTH
Constructs a new OnSystemsRequest object
public OnSystemRequest()
public OnSystemRequest(java.util.Hashtable<java.lang.String, java.lang.Object> hash)
public OnSystemRequest(java.util.Hashtable<java.lang.String, java.lang.Object> hash,byte[] bulkData)
Constructs a new OnSystemsRequest object
public OnSystemRequest(RequestType requestType)
public com.smartdevicelink.proxy.rpc.OnSystemRequest setBulkData(byte[] bulkData)
public java.util.List getLegacyData()
public java.lang.String getBody()
public com.smartdevicelink.proxy.rpc.OnSystemRequest setBody(String body)
public com.smartdevicelink.proxy.rpc.OnSystemRequest setHeaders(Headers header)
public com.smartdevicelink.proxy.rpc.Headers getHeader()
public com.smartdevicelink.proxy.rpc.enums.RequestType getRequestType()
public com.smartdevicelink.proxy.rpc.OnSystemRequest setRequestType(RequestType requestType)
public java.lang.String getRequestSubType()
public com.smartdevicelink.proxy.rpc.OnSystemRequest setRequestSubType(String requestSubType)
public java.lang.String getUrl()
public com.smartdevicelink.proxy.rpc.OnSystemRequest setUrl(String url)
public com.smartdevicelink.proxy.rpc.enums.FileType getFileType()
public com.smartdevicelink.proxy.rpc.OnSystemRequest setFileType(FileType fileType)
Deprecated
public com.smartdevicelink.proxy.rpc.OnSystemRequest setOffset(Integer offset)
public java.lang.Long getOffset()
public com.smartdevicelink.proxy.rpc.OnSystemRequest setOffset(Long offset)
public java.lang.Integer getTimeout()
public com.smartdevicelink.proxy.rpc.OnSystemRequest setTimeout(Integer timeout)
public java.lang.Long getLength()
Deprecated
public com.smartdevicelink.proxy.rpc.OnSystemRequest setLength(Integer length)
public com.smartdevicelink.proxy.rpc.OnSystemRequest setLength(Long length)
From Class | Methods |
---|---|
com.smartdevicelink.proxy.RPCMessage | getFunctionID, getFunctionName, setFunctionName, getMessageType, setParameters, getParameters, getObject, getString, getInteger, getFloat, getDouble, getBoolean, getLong |
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 |