C# Класс ServiceStack.HttpCacheExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
ETagMatch ( this req, string eTag ) : bool
EndNotModified ( this res, string description = null ) : void
Has ( this cache, CacheControl flag ) : bool
HasValidCache ( this req, System.DateTime lastModified ) : bool
HasValidCache ( this req, string eTag ) : bool
HasValidCache ( this req, string eTag, System.DateTime lastModified ) : bool
NotModifiedSince ( this req, System.DateTime lastModified ) : bool
ShouldAddLastModifiedToOptimizedResults ( this feature ) : bool

Приватные методы

Метод Описание
StripWeakRef ( this eTag ) : string

Описание методов

ETagMatch() публичный статический Метод

public static ETagMatch ( this req, string eTag ) : bool
req this
eTag string
Результат bool

EndNotModified() публичный статический Метод

public static EndNotModified ( this res, string description = null ) : void
res this
description string
Результат void

Has() публичный статический Метод

public static Has ( this cache, CacheControl flag ) : bool
cache this
flag CacheControl
Результат bool

HasValidCache() публичный статический Метод

public static HasValidCache ( this req, System.DateTime lastModified ) : bool
req this
lastModified System.DateTime
Результат bool

HasValidCache() публичный статический Метод

public static HasValidCache ( this req, string eTag ) : bool
req this
eTag string
Результат bool

HasValidCache() публичный статический Метод

public static HasValidCache ( this req, string eTag, System.DateTime lastModified ) : bool
req this
eTag string
lastModified System.DateTime
Результат bool

NotModifiedSince() публичный статический Метод

public static NotModifiedSince ( this req, System.DateTime lastModified ) : bool
req this
lastModified System.DateTime
Результат bool

ShouldAddLastModifiedToOptimizedResults() публичный статический Метод

public static ShouldAddLastModifiedToOptimizedResults ( this feature ) : bool
feature this
Результат bool