C# 클래스 WebApi.OutputCache.V2.CacheOutputAttribute

상속: System.Web.Http.Filters.FilterAttribute, IActionFilter
파일 보기 프로젝트 열기: kaevans/globalscaledemo

보호된 프로퍼티들

프로퍼티 타입 설명
DefaultMediaType System.Net.Http.Headers.MediaTypeHeaderValue

공개 메소드들

메소드 설명
OnActionExecutedAsync ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext, CancellationToken cancellationToken ) : Task
OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void

보호된 메소드들

메소드 설명
ApplyCacheHeaders ( HttpResponseMessage response, WebApi.OutputCache.Core.Time.CacheTime cacheTime ) : void
CreateEtag ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext, string cachekey, WebApi.OutputCache.Core.Time.CacheTime cacheTime ) : string
EnsureCache ( System.Web.Http.HttpConfiguration config, HttpRequestMessage req ) : void
EnsureCacheTimeQuery ( ) : void
GetExpectedMediaType ( System.Web.Http.HttpConfiguration config, System.Web.Http.Controllers.HttpActionContext actionContext ) : MediaTypeHeaderValue
IsCachingAllowed ( System.Web.Http.Controllers.HttpActionContext actionContext, bool anonymousOnly ) : bool
ResetCacheTimeQuery ( ) : void

비공개 메소드들

메소드 설명
SetEtag ( HttpResponseMessage message, string etag ) : void

메소드 상세

ApplyCacheHeaders() 보호된 메소드

protected ApplyCacheHeaders ( HttpResponseMessage response, WebApi.OutputCache.Core.Time.CacheTime cacheTime ) : void
response System.Net.Http.HttpResponseMessage
cacheTime WebApi.OutputCache.Core.Time.CacheTime
리턴 void

CreateEtag() 보호된 메소드

protected CreateEtag ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext, string cachekey, WebApi.OutputCache.Core.Time.CacheTime cacheTime ) : string
actionExecutedContext System.Web.Http.Filters.HttpActionExecutedContext
cachekey string
cacheTime WebApi.OutputCache.Core.Time.CacheTime
리턴 string

EnsureCache() 보호된 메소드

protected EnsureCache ( System.Web.Http.HttpConfiguration config, HttpRequestMessage req ) : void
config System.Web.Http.HttpConfiguration
req System.Net.Http.HttpRequestMessage
리턴 void

EnsureCacheTimeQuery() 보호된 메소드

protected EnsureCacheTimeQuery ( ) : void
리턴 void

GetExpectedMediaType() 보호된 메소드

protected GetExpectedMediaType ( System.Web.Http.HttpConfiguration config, System.Web.Http.Controllers.HttpActionContext actionContext ) : MediaTypeHeaderValue
config System.Web.Http.HttpConfiguration
actionContext System.Web.Http.Controllers.HttpActionContext
리턴 System.Net.Http.Headers.MediaTypeHeaderValue

IsCachingAllowed() 보호된 메소드

protected IsCachingAllowed ( System.Web.Http.Controllers.HttpActionContext actionContext, bool anonymousOnly ) : bool
actionContext System.Web.Http.Controllers.HttpActionContext
anonymousOnly bool
리턴 bool

OnActionExecutedAsync() 공개 메소드

public OnActionExecutedAsync ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext, CancellationToken cancellationToken ) : Task
actionExecutedContext System.Web.Http.Filters.HttpActionExecutedContext
cancellationToken System.Threading.CancellationToken
리턴 Task

OnActionExecuting() 공개 메소드

public OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void
actionContext System.Web.Http.Controllers.HttpActionContext
리턴 void

ResetCacheTimeQuery() 보호된 메소드

protected ResetCacheTimeQuery ( ) : void
리턴 void

프로퍼티 상세

DefaultMediaType 보호되어 있는 정적으로 프로퍼티

protected static MediaTypeHeaderValue,System.Net.Http.Headers DefaultMediaType
리턴 System.Net.Http.Headers.MediaTypeHeaderValue