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

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

Public Methods

Method 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 method

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

ReadCookie() public method

Reads the cookie.
public ReadCookie ( String name ) : String
name String The cookie name.
return String

RequestAdapter() public method

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

ValidateInput() public method

Validates the input.
public ValidateInput ( ) : void
return void

this() public method

Gets the param with the specified key.
public this ( String key ) : String
key String
return String