C# Class Hapikit.Cache.CacheQueryResult

Exibir arquivo Open project: hapikit/hapikit.net Class Usage Examples

Public Properties

Property Type Description
SelectedEntry CacheEntry
SelectedResponse System.Net.Http.HttpResponseMessage

Public Methods

Method Description
CannotUseCache ( ) : CacheQueryResult
ReturnStored ( CacheEntry cacheEntry, HttpResponseMessage response ) : CacheQueryResult
Revalidate ( CacheEntry cacheEntry, HttpResponseMessage response ) : CacheQueryResult

Private Methods

Method Description
ApplyConditionalHeaders ( HttpRequestMessage request ) : void

Method Details

CannotUseCache() public static method

public static CannotUseCache ( ) : CacheQueryResult
return CacheQueryResult

ReturnStored() public static method

public static ReturnStored ( CacheEntry cacheEntry, HttpResponseMessage response ) : CacheQueryResult
cacheEntry CacheEntry
response System.Net.Http.HttpResponseMessage
return CacheQueryResult

Revalidate() public static method

public static Revalidate ( CacheEntry cacheEntry, HttpResponseMessage response ) : CacheQueryResult
cacheEntry CacheEntry
response System.Net.Http.HttpResponseMessage
return CacheQueryResult

Property Details

SelectedEntry public_oe property

public CacheEntry SelectedEntry
return CacheEntry

SelectedResponse public_oe property

public HttpResponseMessage,System.Net.Http SelectedResponse
return System.Net.Http.HttpResponseMessage