Class ContentMediaHttpHandler

A HTTP Handler that deliver binary large objects from IContentMedia.BinaryData.

Inheritance
System.Object
ContentMediaHttpHandler
Implements
System.Web.IHttpAsyncHandler
System.Web.IHttpHandler
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
[TemplateDescriptor(Inherited = true, TemplateTypeCategory = TemplateTypeCategories.HttpHandler)]
public class ContentMediaHttpHandler : BlobHttpHandler, IHttpAsyncHandler, IHttpHandler, IRenderTemplate<IContentMedia>, IRenderTemplate

Constructors

ContentMediaHttpHandler()

Declaration
public ContentMediaHttpHandler()

Methods

GetBlob(HttpContextBase)

Gets the routed BLOB from the request.

Declaration
protected override Blob GetBlob(HttpContextBase httpContext)
Parameters
Type Name Description
System.Web.HttpContextBase httpContext

The HTTP context.

Returns
Type Description
Blob
Overrides
Remarks

The implementation returns IContentMedia.BinaryData.

Exceptions
Type Condition
System.NotImplementedException

Implements

System.Web.IHttpAsyncHandler
System.Web.IHttpHandler

Extension Methods