C# Class ServiceStack.WebHost.Endpoints.RestHandler

Inheritance: ServiceStack.WebHost.Endpoints.Support.EndpointHandlerBase
Exibir arquivo Open project: firstsee/ServiceStack Class Usage Examples

Private Properties

Property Type Description
GetRequest object

Public Methods

Method Description
CreateRequest ( IHttpRequest httpReq, string operationName ) : object

Used in Unit tests

FindMatchingRestPath ( string httpMethod, string pathInfo ) : IRestPath
GetResponse ( IHttpRequest httpReq, object request ) : object
GetRestPath ( string httpMethod, string pathInfo ) : IRestPath
ProcessRequest ( IHttpRequest httpReq, IHttpResponse httpRes, string operationName ) : void
RestHandler ( ) : System

Private Methods

Method Description
GetRequest ( IHttpRequest httpReq, IRestPath restPath ) : object

Method Details

CreateRequest() public method

Used in Unit tests
public CreateRequest ( IHttpRequest httpReq, string operationName ) : object
httpReq IHttpRequest
operationName string
return object

FindMatchingRestPath() public static method

public static FindMatchingRestPath ( string httpMethod, string pathInfo ) : IRestPath
httpMethod string
pathInfo string
return IRestPath

GetResponse() public method

public GetResponse ( IHttpRequest httpReq, object request ) : object
httpReq IHttpRequest
request object
return object

GetRestPath() public method

public GetRestPath ( string httpMethod, string pathInfo ) : IRestPath
httpMethod string
pathInfo string
return IRestPath

ProcessRequest() public method

public ProcessRequest ( IHttpRequest httpReq, IHttpResponse httpRes, string operationName ) : void
httpReq IHttpRequest
httpRes IHttpResponse
operationName string
return void

RestHandler() public method

public RestHandler ( ) : System
return System