Свойство | Тип | Описание | |
---|---|---|---|
CreateCacheHeaders | void | ||
CreateSystemMeta | void | ||
CreateValidator | |||
FetchCacheControl | void | ||
FetchHeaderValues | void | ||
FinallyUpdateCacheEntry | void | ||
HttpRequestCacheValidator | System | ||
ParseHeaderValues | void | ||
ParseNameValues | string | ||
ParseStatusLine | string | ||
ParseValuesCallbackMethod | void | ||
ParseWarningsCallbackMethod | void | ||
RemoveWarnings_1xx | void | ||
UpdateStringCollection | void | ||
ZeroPrivateVars | void |
Метод | Описание | |
---|---|---|
RevalidateCache ( ) : CacheValidationStatus | ||
UpdateCache ( ) : CacheValidationStatus |
This action handler is responsible for making final decision on whether a received response can be cached. Invalid result from this method means the response must not be cached |
|
ValidateCache ( ) : CacheValidationStatus | This method may add headers under the "Warning" header name | |
ValidateFreshness ( ) : CacheFreshnessStatus | ||
ValidateRequest ( ) : CacheValidationStatus | ||
ValidateResponse ( ) : CacheValidationStatus |
This validation method is responsible to answer whether the live response is sufficient to make the final decision for caching protocol. This is useful in case of possible failure or inconsistent results received from the remote cache. Invalid response from this method means the request was internally modified and should be retried |
Метод | Описание | |
---|---|---|
CreateCacheHeaders ( bool ignoreFirstString ) : void | ||
CreateSystemMeta ( ) : void | ||
CreateValidator ( ) : |
||
FetchCacheControl ( string s, bool forCache ) : void | ||
FetchHeaderValues ( bool forCache ) : void | ||
FinallyUpdateCacheEntry ( ) : void | ||
HttpRequestCacheValidator ( bool strictCacheErrors, System.TimeSpan unspecifiedMaxAge ) : System | ||
ParseHeaderValues ( string values, ParseCallback calback, IList list ) : void | ||
ParseNameValues ( |
||
ParseStatusLine ( ) : string | ||
ParseValuesCallbackMethod ( string s, int start, int end, IList list ) : void | ||
ParseWarningsCallbackMethod ( string s, int start, int end, IList list ) : void | ||
RemoveWarnings_1xx ( ) : void | ||
UpdateStringCollection ( |
||
ZeroPrivateVars ( ) : void |
protected RevalidateCache ( ) : CacheValidationStatus | ||
Результат | CacheValidationStatus |
protected UpdateCache ( ) : CacheValidationStatus | ||
Результат | CacheValidationStatus |
protected ValidateCache ( ) : CacheValidationStatus | ||
Результат | CacheValidationStatus |
protected ValidateFreshness ( ) : CacheFreshnessStatus | ||
Результат | CacheFreshnessStatus |
protected ValidateRequest ( ) : CacheValidationStatus | ||
Результат | CacheValidationStatus |
protected ValidateResponse ( ) : CacheValidationStatus | ||
Результат | CacheValidationStatus |