Method | Description | |
---|---|---|
Delete ( string requestUri, |
The method is used to send a HTTP request using DELETE method to the protocol server. As a result, it will return the "HttpWebResponse" object received from the protocol server.
|
|
Get ( string requestUri, |
The method is used to send a HTTP request using GET method to the protocol server. As a result, it will return the "HttpWebResponse" object received from the protocol server.
|
|
Initialize ( ITestSite testSite ) : void |
Override IAdapter's Initialize(), set default protocol short name of the testSite, and initialize variables in "MS_WDVMODUUAdapter" class.
|
|
PropFind ( string requestUri, string body, |
The method is used to send a HTTP request using PROPFIND method to the protocol server. As a result, it will return the "HttpWebResponse" object received from the protocol server.
|
|
Put ( string requestUri, byte body, |
The method is used to send a HTTP request using PUT method to the protocol server. As a result, it will return the "HttpWebResponse" object received from the protocol server.
|
Method | Description | |
---|---|---|
AssertWDVMODUUResponse ( |
Assert the return object 'WDVMODUUResponse' is not null, make sure all necessary members in the object are not null.
|
|
ConstructHttpWebRequest ( string requestUri ) : |
Construct an "HttpWebRequest" object based on a request URI.
|
|
GetResponse ( |
Get the HTTP response via sending the HTTP request in input parameter "httpRequest".
|
|
ReserveRequestData ( |
Reserve the HTTP headers and body content from the HTTP request.
|
|
ValidateAndCaptureTransport ( |
Validate and capture the requirement about the transport, this protocol only support HTTP as transport now.
|
public Delete ( string requestUri, |
||
requestUri | string | The resource Request_URI for the HTTP request. |
headersCollection | The collections for Name/Value pair of headers that would be inserted in the header of the HTTP request. | |
return |
public Get ( string requestUri, |
||
requestUri | string | The resource Request_URI for the HTTP request. |
headersCollection | The collections for Name/Value pair of headers that would be inserted in the header of the HTTP request. | |
return |
public Initialize ( ITestSite testSite ) : void | ||
testSite | ITestSite | Transfer ITestSite into adapter, make adapter can use ITestSite's function. |
return | void |
public PropFind ( string requestUri, string body, |
||
requestUri | string | The resource Request_URI for the HTTP request. |
body | string | The body content in the HTTP request. |
headersCollection | The collections for Name/Value pair of headers that would be inserted in the header of the HTTP request. | |
return |
public Put ( string requestUri, byte body, |
||
requestUri | string | The resource Request_URI for the HTTP request. |
body | byte | The body content in the HTTP request. |
headersCollection | The collections for Name/Value pair of headers that would be inserted in the header of the HTTP request. | |
return |