C# 클래스 Raven.Database.Server.HttpServer

상속: IDisposable
파일 보기 프로젝트 열기: nhsevidence/ravendb 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
ResourcesStoresCache DocumentDatabase>.ConcurrentDictionary

Private Properties

프로퍼티 타입 설명
AddAccessControlHeaders void
AddHttpCompressionIfClientCanAcceptIt void
CleanupDatabases void
DispatchRequest bool
FinalizeRequestProcessing void
GetContext void
HandleBadRequest void
HandleConcurrencyException void
HandleException void
HandleGenericException void
HandleIndexDisabledException void
HandleIndexDoesNotExistsException void
HandleTooBusyError void
LogHttpRequestStats void
SetupRequestToProperDatabase void
TenantDatabaseRemoved void

공개 메소드들

메소드 설명
Dispose ( ) : void
HandleActualRequest ( IHttpContext ctx ) : void
HttpServer ( IRavenHttpConfiguration configuration, DocumentDatabase resourceStore ) : System
ResetNumberOfRequests ( ) : void
Start ( ) : void

보호된 메소드들

메소드 설명
CleanupDatabase ( string db ) : void
OnDispatchingRequest ( IHttpContext ctx ) : void
SerializeError ( IHttpContext ctx, object error ) : void
ShouldLogException ( Exception exception ) : bool
TryGetOrCreateResourceStore ( string tenantId, DocumentDatabase &database ) : bool
TryHandleException ( IHttpContext ctx, Exception exception ) : bool

비공개 메소드들

메소드 설명
AddAccessControlHeaders ( IHttpContext ctx ) : void
AddHttpCompressionIfClientCanAcceptIt ( IHttpContext ctx ) : void
CleanupDatabases ( object state ) : void
DispatchRequest ( IHttpContext ctx ) : bool
FinalizeRequestProcessing ( IHttpContext ctx, Stopwatch sw, bool ravenUiRequest ) : void
GetContext ( IAsyncResult ar ) : void
HandleBadRequest ( IHttpContext ctx, Raven.Abstractions.Exceptions.BadRequestException e ) : void
HandleConcurrencyException ( IHttpContext ctx, Raven.Abstractions.Exceptions.ConcurrencyException e ) : void
HandleException ( IHttpContext ctx, Exception e ) : void
HandleGenericException ( IHttpContext ctx, Exception e ) : void
HandleIndexDisabledException ( IHttpContext ctx, Raven.Abstractions.Exceptions.IndexDisabledException e ) : void
HandleIndexDoesNotExistsException ( IHttpContext ctx, Exception e ) : void
HandleTooBusyError ( IHttpContext ctx ) : void
LogHttpRequestStats ( LogHttpRequestStatsParams logHttpRequestStatsParams ) : void
SetupRequestToProperDatabase ( IHttpContext ctx ) : void
TenantDatabaseRemoved ( object sender, Raven.Database.Plugins.Builtins.Tenants.RemoveTenantDatabase @event ) : void

메소드 상세

CleanupDatabase() 보호된 메소드

protected CleanupDatabase ( string db ) : void
db string
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

HandleActualRequest() 공개 메소드

public HandleActualRequest ( IHttpContext ctx ) : void
ctx IHttpContext
리턴 void

HttpServer() 공개 메소드

public HttpServer ( IRavenHttpConfiguration configuration, DocumentDatabase resourceStore ) : System
configuration IRavenHttpConfiguration
resourceStore DocumentDatabase
리턴 System

OnDispatchingRequest() 보호된 메소드

protected OnDispatchingRequest ( IHttpContext ctx ) : void
ctx IHttpContext
리턴 void

ResetNumberOfRequests() 공개 메소드

public ResetNumberOfRequests ( ) : void
리턴 void

SerializeError() 보호된 정적인 메소드

protected static SerializeError ( IHttpContext ctx, object error ) : void
ctx IHttpContext
error object
리턴 void

ShouldLogException() 보호된 메소드

protected ShouldLogException ( Exception exception ) : bool
exception System.Exception
리턴 bool

Start() 공개 메소드

public Start ( ) : void
리턴 void

TryGetOrCreateResourceStore() 보호된 메소드

protected TryGetOrCreateResourceStore ( string tenantId, DocumentDatabase &database ) : bool
tenantId string
database DocumentDatabase
리턴 bool

TryHandleException() 보호된 메소드

protected TryHandleException ( IHttpContext ctx, Exception exception ) : bool
ctx IHttpContext
exception System.Exception
리턴 bool

프로퍼티 상세

ResourcesStoresCache 보호되어 있는 프로퍼티

protected ConcurrentDictionary ResourcesStoresCache
리턴 DocumentDatabase>.ConcurrentDictionary