C# Class Dev2.Studio.Core.AppResources.Browsers.Dev2RequestHandler

Handler for posting via a GET method.
Inheritance: IDisposable
Exibir arquivo Open project: Warewolf-ESB/Warewolf

Public Methods

Method Description
Dispose ( ) : void
GetData ( int requestID ) : string

Gets the post data for the request ID. Post data must be set previously by invoking SetData.

GetData ( int requestID, Uri requestUri, string requestMethod ) : string

Gets the post data for requestUri that have a query containing method=post. Post data must be set previously by invoking SetData.

SetData ( int requestID, string postData ) : void

Sets the data prior to invoking GetData(int, Uri, string).

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetData() public method

Gets the post data for the request ID. Post data must be set previously by invoking SetData.
public GetData ( int requestID ) : string
requestID int The request ID - usually the process ID of the request.
return string

GetData() public method

Gets the post data for requestUri that have a query containing method=post. Post data must be set previously by invoking SetData.
public GetData ( int requestID, Uri requestUri, string requestMethod ) : string
requestID int The request ID - usually the process ID of the request.
requestUri System.Uri The request URI.
requestMethod string The request method - usually POST or GET.
return string

SetData() public method

Sets the data prior to invoking GetData(int, Uri, string).
public SetData ( int requestID, string postData ) : void
requestID int The request ID - usually the process ID of the request.
postData string The post data for the GET request.
return void