Represents HTTP stream parameters that define how to communicate with a MobiLink server using HTTP.
Syntaxpublic interface StreamHTTPParms
Derived classes
MembersAll members of StreamHTTPParms interface, including all inherited members.
| Name | Description |
|---|---|
| Get the name of the file containing the end-to-end public key. | |
| Gets the extra MobiLink client network protocol options. | |
| Returns the host name of the MobiLink server. | |
| 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. | |
| Sets the name of the file containing the end-to-end public key. | |
| Sets extra MobiLink client network protocol options. | |
| Sets the host name of the MobiLink server. | |
| 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. |
RemarksThe 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.
See alsogetE2eePublicKey method [Android]
getExtraParameters method [Android]
getHost method
getOutputBufferSize method
getPort method
getURLSuffix method
isRestartable method
setE2eePublicKey method [Android]
setExtraParameters method [Android]
setHost method
setOutputBufferSize method
setPort method
setRestartable method
setURLSuffix method
setZlibCompression method
setZlibDownloadWindowSize method
setZlibUploadWindowSize method
zlibCompressionEnabled method
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |
