C# Class Castle.MonoRail.Framework.Adapters.RequestAdapter

This class adapts the HttpRequest to a MonoRail IRequest.
Inheritance: IRequest
Afficher le fichier Open project: nats/castle-1.0.3-mono Class Usage Examples

Méthodes publiques

Méthode Description
BinaryRead ( int count ) : byte[]

Reads the request data as a byte array.

ReadCookie ( String name ) : String

Reads the cookie.

RequestAdapter ( HttpRequest request ) : System

Initializes a new instance of the RequestAdapter class.

ValidateInput ( ) : void

Validates the input.

this ( String key ) : String

Gets the param with the specified key.

Method Details

BinaryRead() public méthode

Reads the request data as a byte array.
public BinaryRead ( int count ) : byte[]
count int How many bytes.
Résultat byte[]

ReadCookie() public méthode

Reads the cookie.
public ReadCookie ( String name ) : String
name String The cookie name.
Résultat String

RequestAdapter() public méthode

Initializes a new instance of the RequestAdapter class.
public RequestAdapter ( HttpRequest request ) : System
request System.Web.HttpRequest The request.
Résultat System

ValidateInput() public méthode

Validates the input.
public ValidateInput ( ) : void
Résultat void

this() public méthode

Gets the param with the specified key.
public this ( String key ) : String
key String
Résultat String