C# Class ServiceStack.WebHost.Endpoints.GenericHandler

Inheritance: ServiceStack.WebHost.Endpoints.Support.EndpointHandlerBase
显示文件 Open project: firstsee/ServiceStack

Public Methods

Method Description
CreateRequest ( IHttpRequest request, string operationName ) : object
GetRequest ( IHttpRequest httpReq, string operationName ) : object
GetResponse ( IHttpRequest httpReq, object request ) : object
GetStreamSerializer ( string contentType ) : StreamSerializerDelegate
ProcessRequest ( IHttpRequest httpReq, IHttpResponse httpRes, string operationName ) : void

Protected Methods

Method Description
GenericHandler ( string contentType, EndpointAttributes handlerAttributes ) : System

Method Details

CreateRequest() public method

public CreateRequest ( IHttpRequest request, string operationName ) : object
request IHttpRequest
operationName string
return object

GenericHandler() protected method

protected GenericHandler ( string contentType, EndpointAttributes handlerAttributes ) : System
contentType string
handlerAttributes EndpointAttributes
return System

GetRequest() public method

public GetRequest ( IHttpRequest httpReq, string operationName ) : object
httpReq IHttpRequest
operationName string
return object

GetResponse() public method

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

GetStreamSerializer() public method

public GetStreamSerializer ( string contentType ) : StreamSerializerDelegate
contentType string
return StreamSerializerDelegate

ProcessRequest() public method

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