C# Class ServiceStack.Host.Handlers.HttpAsyncTaskHandler

Inheritance: IHttpAsyncHandler, IServiceStackHandler
ファイルを表示 Open project: nustack/ServiceStack

Public Methods

Method Description
ProcessRequest ( System.Web.HttpContextBase context ) : void
ProcessRequest ( HttpListenerContext context ) : void
ProcessRequest ( IRequest httpReq, IResponse httpRes, string operationName ) : void
ProcessRequestAsync ( System.Web.HttpContextBase context ) : Task
ProcessRequestAsync ( IRequest httpReq, IResponse httpRes, string operationName ) : Task
RunAsAsync ( ) : bool

Protected Methods

Method Description
DefaultHandledRequest ( System.Web.HttpContextBase context ) : bool
DefaultHandledRequest ( HttpListenerContext context ) : bool
HandleException ( IRequest httpReq, IResponse httpRes, string operationName, Exception ex ) : Task

Private Methods

Method Description
HttpAsyncTaskHandler ( ) : System
IHttpAsyncHandler ( HttpContext context, AsyncCallback cb, object extraData ) : IAsyncResult
IHttpAsyncHandler ( IAsyncResult result ) : void
IHttpHandler ( HttpContext context ) : void
RememberLastRequestInfo ( string operationName, string pathInfo ) : void

Method Details

DefaultHandledRequest() protected static method

protected static DefaultHandledRequest ( System.Web.HttpContextBase context ) : bool
context System.Web.HttpContextBase
return bool

DefaultHandledRequest() protected static method

protected static DefaultHandledRequest ( HttpListenerContext context ) : bool
context System.Net.HttpListenerContext
return bool

HandleException() protected method

protected HandleException ( IRequest httpReq, IResponse httpRes, string operationName, Exception ex ) : Task
httpReq IRequest
httpRes IResponse
operationName string
ex System.Exception
return Task

ProcessRequest() public method

public ProcessRequest ( System.Web.HttpContextBase context ) : void
context System.Web.HttpContextBase
return void

ProcessRequest() public method

public ProcessRequest ( HttpListenerContext context ) : void
context System.Net.HttpListenerContext
return void

ProcessRequest() public method

public ProcessRequest ( IRequest httpReq, IResponse httpRes, string operationName ) : void
httpReq IRequest
httpRes IResponse
operationName string
return void

ProcessRequestAsync() public method

public ProcessRequestAsync ( System.Web.HttpContextBase context ) : Task
context System.Web.HttpContextBase
return Task

ProcessRequestAsync() public method

public ProcessRequestAsync ( IRequest httpReq, IResponse httpRes, string operationName ) : Task
httpReq IRequest
httpRes IResponse
operationName string
return Task

RunAsAsync() public method

public RunAsAsync ( ) : bool
return bool