메소드 | 설명 | |
---|---|---|
AddCorsRequestHeaders ( |
Adds response headers allowing Cross Origin Requests if the current origin request passes sanitizing rules.
|
|
Dispose ( ) : void |
Disposes of the resources (other than memory) used by the module that implements T:System.Web.IHttpModule.
|
|
Init ( System.Web.HttpApplication application ) : void |
Initializes a module and prepares it to handle requests.
|
|
SetHeaders ( |
This will make the browser and server keep the output in its cache and thereby improve performance.
|
메소드 | 설명 | |
---|---|---|
CheckQuerystringHandler ( |
||
DecodeUrlString ( string url ) : string |
Decodes a url string.
|
|
Dispose ( bool disposing ) : void |
Disposes the object and frees resources for the Garbage Collector.
|
|
GetImageServiceForRequest ( string url, string applicationPath ) : IImageService |
Gets the correct IImageService for the given request.
|
|
OnEndRequest ( object sender, |
Occurs when the ASP.NET event handler finishes execution.
|
|
OnValidatingRequest ( |
Raises the ValidatingRequest event
|
|
ParseAnimationMode ( string queryString, bool &process ) : AnimationProcessMode |
Gets the animation mode passed in through the querystring, defaults to the default behaviour (All) if nothing found.
|
|
ParseCacheBuster ( string queryString ) : bool |
Return a value indicating whether common cache buster variables are being passed through.
|
|
PostAuthorizeRequest ( object sender, |
Occurs when the user for the current request has been authorized.
|
|
PostReleaseRequestState ( object sender, |
Occurs when ASP.NET has completed executing all request event handlers and the request state data has been stored.
|
|
ProcessImageAsync ( |
Processes the image.
|
|
ReplacePresetsInQueryString ( string queryString ) : string |
Replaces preset values stored in the configuration in the querystring.
|
public static AddCorsRequestHeaders ( |
||
context |
/// the |
|
리턴 | void |
public Init ( System.Web.HttpApplication application ) : void | ||
application | System.Web.HttpApplication |
/// An |
리턴 | void |
public static SetHeaders ( |
||
context |
/// the |
|
responseType | string | The HTTP MIME type to send. |
dependencyPaths | string | The dependency path for the cache dependency. |
maxDays | int | The maximum number of days to store the image in the browser cache. |
statusCode | HttpStatusCode | An optional status code to send to the response. |
리턴 | void |