C# Class Bombsquad.DynamicMedia.Implementations.ResultHandlers.BytesRangeResultHandler

Inheritance: IResultHandler
显示文件 Open project: bmbsqd/dynamic-media

Public Methods

Method Description
HandleResult ( IResult result, IFormatInfo outputFormat, System.Web.HttpRequestBase request, System.Web.HttpResponseBase response ) : bool

Private Methods

Method Description
TryGetRequestedRange ( System.Web.HttpRequestBase request, Range &range ) : bool
ValidateIfRangeHeader ( System.Web.HttpRequestBase request, IResult result ) : bool

Method Details

HandleResult() public method

public HandleResult ( IResult result, IFormatInfo outputFormat, System.Web.HttpRequestBase request, System.Web.HttpResponseBase response ) : bool
result IResult
outputFormat IFormatInfo
request System.Web.HttpRequestBase
response System.Web.HttpResponseBase
return bool