C# Class Universe.Framework.Servers.HttpServer.BaseRequestHandler

Inheritance: IStreamedRequestHandler
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe

Protected Properties

Свойство Type Description
m_httpMethod string
m_path string

Méthodes publiques

Méthode Description
GetBodyAsString ( Stream request ) : string
Handle ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]

Méthodes protégées

Méthode Description
BaseRequestHandler ( string httpMethod, string path ) : System
CheckParam ( string path ) : bool
GetParam ( string path ) : string
SplitParams ( string path ) : string[]

Method Details

BaseRequestHandler() protected méthode

protected BaseRequestHandler ( string httpMethod, string path ) : System
httpMethod string
path string
Résultat System

CheckParam() protected méthode

protected CheckParam ( string path ) : bool
path string
Résultat bool

GetBodyAsString() public méthode

public GetBodyAsString ( Stream request ) : string
request Stream
Résultat string

GetParam() protected méthode

protected GetParam ( string path ) : string
path string
Résultat string

Handle() public abstract méthode

public abstract Handle ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
path string
request Stream
httpRequest Universe.Framework.Servers.HttpServer.Implementation.OSHttpRequest
httpResponse Universe.Framework.Servers.HttpServer.Implementation.OSHttpResponse
Résultat byte[]

SplitParams() protected méthode

protected SplitParams ( string path ) : string[]
path string
Résultat string[]

Property Details

m_httpMethod protected_oe property

protected string m_httpMethod
Résultat string

m_path protected_oe property

protected string m_path
Résultat string