C# Class OpenRasta.Pipeline.Contributors.ResponseContentEncodingContributor

Inheritance: IPipelineContributor
显示文件 Open project: Huddle/openrasta-stable

Public Methods

Method Description
DoContentEncoding ( ICommunicationContext context ) : PipelineContinuation
Initialize ( IPipeline pipelineRunner ) : void
ResponseContentEncodingContributor ( IContentEncodingSchemeRepository contentEncodingSchemeRepository ) : System

Private Methods

Method Description
CanClientAcceptGzipEncoding ( string encodingHeader ) : bool
GZipReponseEntity ( ICommunicationContext context ) : void
IsConfiguredToGzipMediaType ( string mediaType ) : bool

Method Details

DoContentEncoding() public method

public DoContentEncoding ( ICommunicationContext context ) : PipelineContinuation
context ICommunicationContext
return PipelineContinuation

Initialize() public method

public Initialize ( IPipeline pipelineRunner ) : void
pipelineRunner IPipeline
return void

ResponseContentEncodingContributor() public method

public ResponseContentEncodingContributor ( IContentEncodingSchemeRepository contentEncodingSchemeRepository ) : System
contentEncodingSchemeRepository IContentEncodingSchemeRepository
return System