C# 클래스 System.Net.Cache.HttpRequestCacheValidator

상속: RequestCacheValidator
파일 보기 프로젝트 열기: gbarnett/shared-source-cli-2.0 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CreateCacheHeaders void
CreateSystemMeta void
CreateValidator RequestCacheValidator
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 ( ) : RequestCacheValidator
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 ( NameValueCollection cc, StringCollection sc, int start ) : string
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 ( StringCollection result, NameValueCollection cc, bool winInetCompat ) : void
ZeroPrivateVars ( ) : void

메소드 상세

RevalidateCache() 보호된 메소드

protected RevalidateCache ( ) : CacheValidationStatus
리턴 CacheValidationStatus

UpdateCache() 보호된 메소드

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
protected UpdateCache ( ) : CacheValidationStatus
리턴 CacheValidationStatus

ValidateCache() 보호된 메소드

This method may add headers under the "Warning" header name
protected ValidateCache ( ) : CacheValidationStatus
리턴 CacheValidationStatus

ValidateFreshness() 보호된 메소드

protected ValidateFreshness ( ) : CacheFreshnessStatus
리턴 CacheFreshnessStatus

ValidateRequest() 보호된 메소드

protected ValidateRequest ( ) : CacheValidationStatus
리턴 CacheValidationStatus

ValidateResponse() 보호된 메소드

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
protected ValidateResponse ( ) : CacheValidationStatus
리턴 CacheValidationStatus