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()
BodyParserEngineManager
getContentTypes
in interface BodyParserEngineManager
public BodyParserEngine getBodyParserEngineForContentType(java.lang.String contentType)
BodyParserEngineManager
getBodyParserEngineForContentType
in interface BodyParserEngineManager
contentType
- The content typeprotected void logBodyParserEngines()
Copyright © 2016 ninjaframework. All Rights Reserved.