C# 클래스 OpenRasta.Web.UriDecorators.ContentTypeExtensionUriDecorator

Decorates a uri with an extension, similar to a file system extension, to override content-type negotiation.
The extension is always processed at the end of the uri, and separated by a dot. The matching is done per-resource, based on the extension declared for the codec associated with a resource.
상속: IUriDecorator
파일 보기 프로젝트 열기: openrasta/openrasta-core

공개 메소드들

메소드 설명
Apply ( ) : void
ContentTypeExtensionUriDecorator ( ICommunicationContext context, IUriResolver uris, ICodecRepository codecs, ITypeSystem typeSystem ) : System
Parse ( Uri uri, Uri &processedUri ) : bool

비공개 메소드들

메소드 설명
ChangePath ( Uri uri, Func getPath ) : Uri

메소드 상세

Apply() 공개 메소드

public Apply ( ) : void
리턴 void

ContentTypeExtensionUriDecorator() 공개 메소드

public ContentTypeExtensionUriDecorator ( ICommunicationContext context, IUriResolver uris, ICodecRepository codecs, ITypeSystem typeSystem ) : System
context ICommunicationContext
uris IUriResolver
codecs ICodecRepository
typeSystem ITypeSystem
리턴 System

Parse() 공개 메소드

public Parse ( Uri uri, Uri &processedUri ) : bool
uri Uri
processedUri Uri
리턴 bool