C# Class Simpl.OODSS.Messages.RequestMessage

Inheritance: ServiceMessage, ISendableRequest
Exibir arquivo Open project: ecologylab/simplCSharp Class Usage Examples

Public Methods

Method Description
ErrorRedirectUri ( Scope clientSessionScope ) : ParsedUri

A URL can be provided, indicating the response should be accomplished with HTTP redirect. Used when browser security is an issue. This is the redirect URL for response when processing results in an error.

IsDisposable ( ) : bool

Indicates whether or not this type of message may be ignored by the server, if the server becomes backed-up. For example, a RequestMessage subclass that simply requests the server's current state may be ignored if a more recent copy of one has arrived later. By default, RequestMessages are not disposable; this method should be overriden if they are to be.

OkRedirectUri ( Scope clientSessionScope ) : ParsedUri

A URL can be provided, indicating the response should be accomplished with HTTP redirect. Used when browser security is an issue. This is the redirect URL for response when processing is successful.

PerformService ( Scope clientSessionScope ) : ResponseMessage

Perform the service associated with the request, using the supplied context as needed.

RequestMessage ( ) : Ecologylab.Collections

Method Details

ErrorRedirectUri() public method

A URL can be provided, indicating the response should be accomplished with HTTP redirect. Used when browser security is an issue. This is the redirect URL for response when processing results in an error.
public ErrorRedirectUri ( Scope clientSessionScope ) : ParsedUri
clientSessionScope Scope /// Can be used to generate HTTP GET style arguments in the redirect URL.
return Simpl.Fundamental.Net.ParsedUri

IsDisposable() public method

Indicates whether or not this type of message may be ignored by the server, if the server becomes backed-up. For example, a RequestMessage subclass that simply requests the server's current state may be ignored if a more recent copy of one has arrived later. By default, RequestMessages are not disposable; this method should be overriden if they are to be.
public IsDisposable ( ) : bool
return bool

OkRedirectUri() public method

A URL can be provided, indicating the response should be accomplished with HTTP redirect. Used when browser security is an issue. This is the redirect URL for response when processing is successful.
public OkRedirectUri ( Scope clientSessionScope ) : ParsedUri
clientSessionScope Scope /// Can be used to generate HTTP GET style arguments in the redirect URL.
return Simpl.Fundamental.Net.ParsedUri

PerformService() public abstract method

Perform the service associated with the request, using the supplied context as needed.
public abstract PerformService ( Scope clientSessionScope ) : ResponseMessage
clientSessionScope Scope Context to perform it in/with.
return ResponseMessage

RequestMessage() public method

public RequestMessage ( ) : Ecologylab.Collections
return Ecologylab.Collections