C# Class Castle.MonoRail.TestSupport.MonoRailTestWorkerRequest

Used to integrate with the ASP.Net Runtime
Inheritance: System.Web.Hosting.SimpleWorkerRequest
Afficher le fichier Open project: nats/castle-1.0.3-mono Class Usage Examples

Méthodes publiques

Méthode Description
CloseConnection ( ) : void
EndOfRequest ( ) : void
FlushResponse ( bool finalFlush ) : void
GetAppPath ( ) : string
GetAppPathTranslated ( ) : String
GetFilePath ( ) : string
GetFilePathTranslated ( ) : string
GetHttpVerbName ( ) : string
GetHttpVersion ( ) : string
GetKnownRequestHeader ( int index ) : String
GetLocalAddress ( ) : string
GetLocalPort ( ) : int
GetPreloadedEntityBody ( ) : byte[]
GetProtocol ( ) : string
GetQueryString ( ) : String
GetQueryStringRawBytes ( ) : byte[]
GetRawUrl ( ) : string
GetRemoteAddress ( ) : string
GetRemotePort ( ) : int
GetServerVariable ( string name ) : string
GetUnknownRequestHeader ( String name ) : String
GetUnknownRequestHeaders ( ) : String[][]
GetUriPath ( ) : string
GetUserToken ( ) : IntPtr
HeadersSent ( ) : bool
IsClientConnected ( ) : bool
IsEntireEntityBodyIsPreloaded ( ) : bool
IsSecure ( ) : bool
MapPath ( String path ) : String
MonoRailTestWorkerRequest ( TestRequest requestData, String virtualAppPath, String physicalAppPath, TextWriter output ) : System
ReadEntityBody ( byte buffer, int size ) : int
SendCalculatedContentLength ( int contentLength ) : void
SendKnownResponseHeader ( int index, string value ) : void
SendResponseFromFile ( IntPtr handle, long offset, long length ) : void
SendResponseFromFile ( string filename, long offset, long length ) : void
SendResponseFromMemory ( byte data, int length ) : void
SendStatus ( int statusCode, string statusDescription ) : void
SendUnknownResponseHeader ( string name, string value ) : void

Méthodes protégées

Méthode Description
Prepare ( ) : void

Private Methods

Méthode Description
GetPathInternal ( ) : string
ProcessHeaders ( ) : void
ProcessPostBody ( ) : void
ProcessQueryString ( ) : void

Method Details

CloseConnection() public méthode

public CloseConnection ( ) : void
Résultat void

EndOfRequest() public méthode

public EndOfRequest ( ) : void
Résultat void

FlushResponse() public méthode

public FlushResponse ( bool finalFlush ) : void
finalFlush bool
Résultat void

GetAppPath() public méthode

public GetAppPath ( ) : string
Résultat string

GetAppPathTranslated() public méthode

public GetAppPathTranslated ( ) : String
Résultat String

GetFilePath() public méthode

public GetFilePath ( ) : string
Résultat string

GetFilePathTranslated() public méthode

public GetFilePathTranslated ( ) : string
Résultat string

GetHttpVerbName() public méthode

public GetHttpVerbName ( ) : string
Résultat string

GetHttpVersion() public méthode

public GetHttpVersion ( ) : string
Résultat string

GetKnownRequestHeader() public méthode

public GetKnownRequestHeader ( int index ) : String
index int
Résultat String

GetLocalAddress() public méthode

public GetLocalAddress ( ) : string
Résultat string

GetLocalPort() public méthode

public GetLocalPort ( ) : int
Résultat int

GetPreloadedEntityBody() public méthode

public GetPreloadedEntityBody ( ) : byte[]
Résultat byte[]

GetProtocol() public méthode

public GetProtocol ( ) : string
Résultat string

GetQueryString() public méthode

public GetQueryString ( ) : String
Résultat String

GetQueryStringRawBytes() public méthode

public GetQueryStringRawBytes ( ) : byte[]
Résultat byte[]

GetRawUrl() public méthode

public GetRawUrl ( ) : string
Résultat string

GetRemoteAddress() public méthode

public GetRemoteAddress ( ) : string
Résultat string

GetRemotePort() public méthode

public GetRemotePort ( ) : int
Résultat int

GetServerVariable() public méthode

public GetServerVariable ( string name ) : string
name string
Résultat string

GetUnknownRequestHeader() public méthode

public GetUnknownRequestHeader ( String name ) : String
name String
Résultat String

GetUnknownRequestHeaders() public méthode

public GetUnknownRequestHeaders ( ) : String[][]
Résultat String[][]

GetUriPath() public méthode

public GetUriPath ( ) : string
Résultat string

GetUserToken() public méthode

public GetUserToken ( ) : IntPtr
Résultat System.IntPtr

HeadersSent() public méthode

public HeadersSent ( ) : bool
Résultat bool

IsClientConnected() public méthode

public IsClientConnected ( ) : bool
Résultat bool

IsEntireEntityBodyIsPreloaded() public méthode

public IsEntireEntityBodyIsPreloaded ( ) : bool
Résultat bool

IsSecure() public méthode

public IsSecure ( ) : bool
Résultat bool

MapPath() public méthode

public MapPath ( String path ) : String
path String
Résultat String

MonoRailTestWorkerRequest() public méthode

public MonoRailTestWorkerRequest ( TestRequest requestData, String virtualAppPath, String physicalAppPath, TextWriter output ) : System
requestData TestRequest
virtualAppPath String
physicalAppPath String
output System.IO.TextWriter
Résultat System

Prepare() protected méthode

protected Prepare ( ) : void
Résultat void

ReadEntityBody() public méthode

public ReadEntityBody ( byte buffer, int size ) : int
buffer byte
size int
Résultat int

SendCalculatedContentLength() public méthode

public SendCalculatedContentLength ( int contentLength ) : void
contentLength int
Résultat void

SendKnownResponseHeader() public méthode

public SendKnownResponseHeader ( int index, string value ) : void
index int
value string
Résultat void

SendResponseFromFile() public méthode

public SendResponseFromFile ( IntPtr handle, long offset, long length ) : void
handle System.IntPtr
offset long
length long
Résultat void

SendResponseFromFile() public méthode

public SendResponseFromFile ( string filename, long offset, long length ) : void
filename string
offset long
length long
Résultat void

SendResponseFromMemory() public méthode

public SendResponseFromMemory ( byte data, int length ) : void
data byte
length int
Résultat void

SendStatus() public méthode

public SendStatus ( int statusCode, string statusDescription ) : void
statusCode int
statusDescription string
Résultat void

SendUnknownResponseHeader() public méthode

public SendUnknownResponseHeader ( string name, string value ) : void
name string
value string
Résultat void