C# Class EventStore.Core.Services.Transport.Http.Configure

Afficher le fichier Open project: EventStore/EventStore

Méthodes publiques

Свойство Type Description
DisableHTTPCaching bool

Méthodes publiques

Méthode Description
BadRequest ( string description = null ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
DeleteStreamCompleted ( HttpResponseConfiguratorArgs entity, Message message ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
EventEntry ( HttpResponseConfiguratorArgs entity, Message message, bool headEvent ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
EventMetadata ( HttpResponseConfiguratorArgs entity ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
GetFreshStatsCompleted ( HttpResponseConfiguratorArgs entity, Message message ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
GetFreshTcpConnectionStatsCompleted ( HttpResponseConfiguratorArgs entity, Message message ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
GetPositionETag ( long position, string contentType ) : string
GetReplicationStatsCompleted ( HttpResponseConfiguratorArgs entity, Message message ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
GetStreamEventsBackward ( HttpResponseConfiguratorArgs entity, Message message, bool headOfStream ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
GetStreamEventsForward ( HttpResponseConfiguratorArgs entity, Message message ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
Gone ( string description = null ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
InternalServerError ( string description = null ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
NotFound ( ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
NotFound ( string etag, int cacheSeconds, bool isCachePublic, string contentType ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
NotImplemented ( string description = null ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
NotModified ( ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
Ok ( string contentType ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
Ok ( string contentType, Encoding encoding, string etag, int cacheSeconds, bool isCachePublic ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
ReadAllEventsBackwardCompleted ( HttpResponseConfiguratorArgs entity, Message message, bool headOfTf ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
ReadAllEventsForwardCompleted ( HttpResponseConfiguratorArgs entity, Message message, bool headOfTf ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
ServiceUnavailable ( string description = null ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
TemporaryRedirect ( Uri originalUrl, string targetHost, int targetPort ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
Unauthorized ( string description = null ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
WriteEventsCompleted ( HttpResponseConfiguratorArgs entity, Message message, string eventStreamId ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration

Private Methods

Méthode Description
GetCacheSeconds ( EventStore.Core.Services.Storage.ReaderIndex.StreamMetadata metadata ) : int?
HandleNotHandled ( Uri requestedUri, ClientMessage notHandled ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration

Method Details

BadRequest() public static méthode

public static BadRequest ( string description = null ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
description string
Résultat EventStore.Core.Services.Transport.Http.ResponseConfiguration

DeleteStreamCompleted() public static méthode

public static DeleteStreamCompleted ( HttpResponseConfiguratorArgs entity, Message message ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
entity HttpResponseConfiguratorArgs
message Message
Résultat EventStore.Core.Services.Transport.Http.ResponseConfiguration

EventEntry() public static méthode

public static EventEntry ( HttpResponseConfiguratorArgs entity, Message message, bool headEvent ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
entity HttpResponseConfiguratorArgs
message Message
headEvent bool
Résultat EventStore.Core.Services.Transport.Http.ResponseConfiguration

EventMetadata() public static méthode

public static EventMetadata ( HttpResponseConfiguratorArgs entity ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
entity HttpResponseConfiguratorArgs
Résultat EventStore.Core.Services.Transport.Http.ResponseConfiguration

GetFreshStatsCompleted() public static méthode

public static GetFreshStatsCompleted ( HttpResponseConfiguratorArgs entity, Message message ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
entity HttpResponseConfiguratorArgs
message Message
Résultat EventStore.Core.Services.Transport.Http.ResponseConfiguration

GetFreshTcpConnectionStatsCompleted() public static méthode

public static GetFreshTcpConnectionStatsCompleted ( HttpResponseConfiguratorArgs entity, Message message ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
entity HttpResponseConfiguratorArgs
message Message
Résultat EventStore.Core.Services.Transport.Http.ResponseConfiguration

GetPositionETag() public static méthode

public static GetPositionETag ( long position, string contentType ) : string
position long
contentType string
Résultat string

GetReplicationStatsCompleted() public static méthode

public static GetReplicationStatsCompleted ( HttpResponseConfiguratorArgs entity, Message message ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
entity HttpResponseConfiguratorArgs
message Message
Résultat EventStore.Core.Services.Transport.Http.ResponseConfiguration

GetStreamEventsBackward() public static méthode

public static GetStreamEventsBackward ( HttpResponseConfiguratorArgs entity, Message message, bool headOfStream ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
entity HttpResponseConfiguratorArgs
message Message
headOfStream bool
Résultat EventStore.Core.Services.Transport.Http.ResponseConfiguration

GetStreamEventsForward() public static méthode

public static GetStreamEventsForward ( HttpResponseConfiguratorArgs entity, Message message ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
entity HttpResponseConfiguratorArgs
message Message
Résultat EventStore.Core.Services.Transport.Http.ResponseConfiguration

Gone() public static méthode

public static Gone ( string description = null ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
description string
Résultat EventStore.Core.Services.Transport.Http.ResponseConfiguration

InternalServerError() public static méthode

public static InternalServerError ( string description = null ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
description string
Résultat EventStore.Core.Services.Transport.Http.ResponseConfiguration

NotFound() public static méthode

public static NotFound ( ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
Résultat EventStore.Core.Services.Transport.Http.ResponseConfiguration

NotFound() public static méthode

public static NotFound ( string etag, int cacheSeconds, bool isCachePublic, string contentType ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
etag string
cacheSeconds int
isCachePublic bool
contentType string
Résultat EventStore.Core.Services.Transport.Http.ResponseConfiguration

NotImplemented() public static méthode

public static NotImplemented ( string description = null ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
description string
Résultat EventStore.Core.Services.Transport.Http.ResponseConfiguration

NotModified() public static méthode

public static NotModified ( ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
Résultat EventStore.Core.Services.Transport.Http.ResponseConfiguration

Ok() public static méthode

public static Ok ( string contentType ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
contentType string
Résultat EventStore.Core.Services.Transport.Http.ResponseConfiguration

Ok() public static méthode

public static Ok ( string contentType, Encoding encoding, string etag, int cacheSeconds, bool isCachePublic ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
contentType string
encoding Encoding
etag string
cacheSeconds int
isCachePublic bool
Résultat EventStore.Core.Services.Transport.Http.ResponseConfiguration

ReadAllEventsBackwardCompleted() public static méthode

public static ReadAllEventsBackwardCompleted ( HttpResponseConfiguratorArgs entity, Message message, bool headOfTf ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
entity HttpResponseConfiguratorArgs
message Message
headOfTf bool
Résultat EventStore.Core.Services.Transport.Http.ResponseConfiguration

ReadAllEventsForwardCompleted() public static méthode

public static ReadAllEventsForwardCompleted ( HttpResponseConfiguratorArgs entity, Message message, bool headOfTf ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
entity HttpResponseConfiguratorArgs
message Message
headOfTf bool
Résultat EventStore.Core.Services.Transport.Http.ResponseConfiguration

ServiceUnavailable() public static méthode

public static ServiceUnavailable ( string description = null ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
description string
Résultat EventStore.Core.Services.Transport.Http.ResponseConfiguration

TemporaryRedirect() public static méthode

public static TemporaryRedirect ( Uri originalUrl, string targetHost, int targetPort ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
originalUrl System.Uri
targetHost string
targetPort int
Résultat EventStore.Core.Services.Transport.Http.ResponseConfiguration

Unauthorized() public static méthode

public static Unauthorized ( string description = null ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
description string
Résultat EventStore.Core.Services.Transport.Http.ResponseConfiguration

WriteEventsCompleted() public static méthode

public static WriteEventsCompleted ( HttpResponseConfiguratorArgs entity, Message message, string eventStreamId ) : EventStore.Core.Services.Transport.Http.ResponseConfiguration
entity HttpResponseConfiguratorArgs
message Message
eventStreamId string
Résultat EventStore.Core.Services.Transport.Http.ResponseConfiguration

Property Details

DisableHTTPCaching public_oe static_oe property

public static bool DisableHTTPCaching
Résultat bool