C# 클래스 DotNetWorkQueue.QueueStatus.QueueStatusHttp

Returns queue status information, via listening on an HTTP port
상속: IQueueStatus
파일 보기 프로젝트 열기: blehnen/DotNetWorkQueue

공개 메소드들

메소드 설명
AddStatusProvider ( IQueueStatusProvider provider ) : void

Adds a status provider

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

QueueStatusHttp ( QueueStatusHttpConfiguration configuration, IConfiguration additionalConfiguration, IInternalSerializer serializer, ILogFactory log ) : System

Initializes a new instance of the QueueStatusHttp class.

Start ( ) : void

Starts this instance.

보호된 메소드들

메소드 설명
ThrowIfDisposed ( [ name = "" ) : void

Throws an exception if this instance has been disposed.

비공개 메소드들

메소드 설명
AcceptsGzip ( HttpListenerRequest request ) : bool

Returns true if the requester accepts gzip content.

AddCorsHeaders ( HttpListenerResponse response ) : void

Adds the cors headers.

AddNoCacheHeaders ( HttpListenerResponse response ) : void

Adds the no cache headers.

Dispose ( bool disposing ) : void
ParsePath ( string listenerUriPrefix ) : string

Parses the prefix path.

ProcessRequest ( ) : Task

Processes the requests.

ProcessRequest ( HttpListenerContext context ) : Task

Processes the request.

Stop ( ) : void

Stops this instance.

WriteNotFound ( HttpListenerContext context ) : Task

Writes the not found reply.

WritePong ( HttpListenerContext context ) : Task

Writes the reply to a ping.

WriteStatus ( HttpListenerContext context ) : Task

Writes the status.

WriteString ( HttpListenerContext context, string data, string contentType, int httpStatus = 200, string httpStatusDescription = "OK" ) : Task

Writes the string.

메소드 상세

AddStatusProvider() 공개 메소드

Adds a status provider
public AddStatusProvider ( IQueueStatusProvider provider ) : void
provider IQueueStatusProvider The provider.
리턴 void

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

QueueStatusHttp() 공개 메소드

Initializes a new instance of the QueueStatusHttp class.
public QueueStatusHttp ( QueueStatusHttpConfiguration configuration, IConfiguration additionalConfiguration, IInternalSerializer serializer, ILogFactory log ) : System
configuration DotNetWorkQueue.Configuration.QueueStatusHttpConfiguration The configuration.
additionalConfiguration IConfiguration The additional configuration.
serializer IInternalSerializer The serializer.
log ILogFactory The log.
리턴 System

Start() 공개 메소드

Starts this instance.
public Start ( ) : void
리턴 void

ThrowIfDisposed() 보호된 메소드

Throws an exception if this instance has been disposed.
protected ThrowIfDisposed ( [ name = "" ) : void
name [ The name.
리턴 void