Represents HTTP stream parameters that define how to communicate with a MobiLink server using HTTP.
public interface StreamHTTPParms
All members of the StreamHTTPParms interface, including all inherited members.
Name | Description |
---|---|
Adds a message header to each HTTP request. | |
Returns a Hashtable object containing the HTTP headers specified using the addCustomHTTPHeader method. | |
Returns the name of the file containing the end-to-end public key. | |
Returns the end-to-end encryption type that is in use. | |
Gets the extra MobiLink client network protocol options. | |
Returns the host name of the MobiLink server. | |
Returns the HTTP password. | |
Returns the HTTP user ID. | |
Returns the size, in bytes, of the output buffer used to store data before it is sent to the MobiLink server. | |
Returns the port number used to connect to the MobiLink server. | |
Returns the URL suffix of the MobiLink server. | |
Determines whether restartable HTTP is used. | |
Specifies the name of the file containing the end-to-end public key. | |
Specifies the type of end-to-end encryption to use. | |
Sets extra MobiLink client network protocol options. | |
Sets the host name of the MobiLink server. | |
Sets the user ID and password used for Basic HTTP authentication as described in RFC 2617. | |
Sets the size, in bytes, of the output buffer used to store data before it is sent to the MobiLink server. | |
Sets the port number used to connect to the MobiLink server. | |
Enables or disables restartable HTTP. | |
Specifies the URL suffix to connect to the MobiLink server. | |
Enables or disables ZLIB compression. | |
Sets the download window size for ZLIB compression. | |
Sets the upload window size for ZLIB compression. | |
Determines if ZLIB compression is enabled. | |
Specifies RSA-based end-to-end encryption when passed to the setE2eeType method. |
The following example sets the stream parameters to communicate with a MobiLink server on host name "MyMLHost". The server started with the following parameters: "-x http(port=1234)":
SyncParms syncParms = myConnection.createSyncParms( SyncParms.HTTP_STREAM, "MyUniqueMLUserID", "MyMLScriptVersion" ); StreamHTTPParms httpParms = syncParms.getStreamParms(); httpParms.setHost("MyMLHost"); httpParms.setPort(1234); |
Instances implementing this interface are returned by the SyncParms.getStreamParms method.
addCustomHTTPHeader method [BlackBerry]
getCustomHTTPHeaders method [BlackBerry]
getE2eePublicKey method [BlackBerry]
getE2eeType method [BlackBerry]
getExtraParameters method [Android]
getHost method
getHTTPPassword method [BlackBerry]
getHTTPUserId method [BlackBerry]
getOutputBufferSize method
getPort method
getURLSuffix method
isRestartable method
setE2eePublicKey method [BlackBerry]
setE2eeType method [BlackBerry]
setExtraParameters method [Android]
setHost method
setHTTPUserIdAndPassword method [BlackBerry]
setOutputBufferSize method
setPort method
setRestartable method
setURLSuffix method
setZlibCompression method
setZlibDownloadWindowSize method
setZlibUploadWindowSize method
zlibCompressionEnabled method
E2EE_RSA variable [BlackBerry]
![]() |
Discuter à propos de cette page dans DocCommentXchange.
|
Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0 |