public class BodyParserEngineManagerImpl extends java.lang.Object implements BodyParserEngineManager
| Constructor and Description |
|---|
BodyParserEngineManagerImpl(com.google.inject.Provider<BodyParserEnginePost> bodyParserEnginePost,
com.google.inject.Provider<BodyParserEngineJson> bodyParserEngineJson,
com.google.inject.Provider<BodyParserEngineXml> bodyParserEngineXml,
com.google.inject.Injector injector) |
| Modifier and Type | Method and Description |
|---|---|
BodyParserEngine |
getBodyParserEngineForContentType(java.lang.String contentType)
Find the body parser engine for the given content type
|
java.util.Set<java.lang.String> |
getContentTypes()
Returns a set of the registered body parser engine content types.
|
protected void |
logBodyParserEngines() |
@Inject public BodyParserEngineManagerImpl(com.google.inject.Provider<BodyParserEnginePost> bodyParserEnginePost, com.google.inject.Provider<BodyParserEngineJson> bodyParserEngineJson, com.google.inject.Provider<BodyParserEngineXml> bodyParserEngineXml, com.google.inject.Injector injector)
public java.util.Set<java.lang.String> getContentTypes()
BodyParserEngineManagergetContentTypes in interface BodyParserEngineManagerpublic BodyParserEngine getBodyParserEngineForContentType(java.lang.String contentType)
BodyParserEngineManagergetBodyParserEngineForContentType in interface BodyParserEngineManagercontentType - The content typeprotected void logBodyParserEngines()
Copyright © 2014 ninjaframework. All Rights Reserved.