C# Class Pomona.PomonaJsonResponseProcessor

Inheritance: PomonaResponseProcessorBase
Afficher le fichier Open project: Pomona/Pomona

Méthodes publiques

Méthode Description
CanProcess ( Nancy.Responses.Negotiation.MediaRange requestedMediaRange, dynamic model, Nancy.NancyContext context ) : Nancy.Responses.Negotiation.ProcessorMatch

Determines whether the the processor can handle a given content type and model

PomonaJsonResponseProcessor ( IRouteCacheProvider routeCacheProvider ) : System

Méthodes protégées

Méthode Description
GetSerializerFactory ( Nancy.NancyContext context ) : ITextSerializerFactory

Private Methods

Méthode Description
IsExactJsonContentType ( Nancy.Responses.Negotiation.MediaRange requestedContentType ) : bool
IsWildcardJsonContentType ( Nancy.Responses.Negotiation.MediaRange requestedContentType ) : bool

Method Details

CanProcess() public méthode

Determines whether the the processor can handle a given content type and model
public CanProcess ( Nancy.Responses.Negotiation.MediaRange requestedMediaRange, dynamic model, Nancy.NancyContext context ) : Nancy.Responses.Negotiation.ProcessorMatch
requestedMediaRange Nancy.Responses.Negotiation.MediaRange Content type requested by the client
model dynamic The model for the given media range
context Nancy.NancyContext The nancy context
Résultat Nancy.Responses.Negotiation.ProcessorMatch

GetSerializerFactory() protected méthode

protected GetSerializerFactory ( Nancy.NancyContext context ) : ITextSerializerFactory
context Nancy.NancyContext
Résultat ITextSerializerFactory

PomonaJsonResponseProcessor() public méthode

public PomonaJsonResponseProcessor ( IRouteCacheProvider routeCacheProvider ) : System
routeCacheProvider IRouteCacheProvider
Résultat System