Click or drag to resize
WatchDoxRequest Class
Send HTTP requests to server and process responses.
Inheritance Hierarchy
SystemObject
  BlackBerry.Workspaces.CoreWatchDoxRequest

Namespace:  BlackBerry.Workspaces.Core
Assembly:  BlackBerryWorkspacesSDK (in BlackBerryWorkspacesSDK.dll) Version: 7.0.0.223 (7.0.0.223)
Syntax
C#
public class WatchDoxRequest

The WatchDoxRequest type exposes the following members.

Constructors
  NameDescription
Public methodWatchDoxRequest(IConnection)
Initializes a new instance of the WatchDoxRequest class
Public methodWatchDoxRequest(IConnection, Boolean)
Initializes a new instance of the WatchDoxRequest class
Public methodWatchDoxRequest(IConnection, String, ISessionCallbacks)
Initializes a new instance of the WatchDoxRequest class
Public methodWatchDoxRequest(IConnection, String, ISessionCallbacks, Boolean)
Initializes a new instance of the WatchDoxRequest class
Top
Properties
  NameDescription
Public propertyAllowAutoRedirect
Allow redirect for HTTP requests
Public propertyCookieContainer
Cookie container for HTTP requests
Public propertyStatic memberUserAgent
The UserAgent string used in HTTP requests
Top
Methods
  NameDescription
Public methodAbort
Abort
Public methodAddHttpHeadersToWatchDoxWebRequest
Adds the required headers to the request (according to the server API document)
Public methodCreateUploadFileWebRequest
Sends the request to the web service url
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetPlainWebRequest
Creates HttpWebRequest, can be used externally as well
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWebRequest
Creates HttpWebRequest, can be used externally as well
Public methodHttpGetWebResponse(String, Byte, APIVersion, String)
Sends the request to the web service url
Public methodHttpGetWebResponse(String, RequestMethod, IFileRequestData, IProgressChanged, APIVersion, RequestCacheLevel)
Sends the request to the web service url
Public methodHttpGetWebResponse(String, RequestMethod, IFileRequestData, String, IProgressChanged, String, Boolean, Int32, APIVersion, RequestCacheLevel)
Sends the request to the web service url
Public methodHttpGetWebResponse(String, RequestMethod, String, Byte, Int32, Int64, Int64, DeviceType, Int32, IProgressChanged, APIVersion, RequestCacheLevel)
This method returns HTTP response for an operation that uploads given content to server
Public methodHttpGetWebResponseStream
Sends the request to the web service url
Public methodHttpWebRequestGetResponseContent(String, RequestMethod, RequestCacheLevel)
Sends the request to the web service and returns the content of the server response
Public methodHttpWebRequestGetResponseContent(String, RequestMethod, APIVersion, RequestCacheLevel)
Sends the request to the web service and returns the content of the server response
Public methodHttpWebRequestGetResponseContent(String, RequestMethod, Int32, APIVersion, IProgressChanged, IFileRequestData, RequestCacheLevel)
Sends the request to the web service and returns the content of the server response
Public methodHttpWebRequestGetResponseContent(String, RequestMethod, String, String, Int32, APIVersion, RequestCacheLevel)
Sends the request to the web service and returns the content of the server response
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberCONTENT_TYPE_JSON
CONTENT_TYPE_JSON
Top
See Also