Package ninja.bodyparser
Class BodyParserEngineManagerImpl
- java.lang.Object
-
- ninja.bodyparser.BodyParserEngineManagerImpl
-
- All Implemented Interfaces:
BodyParserEngineManager
public class BodyParserEngineManagerImpl extends Object implements BodyParserEngineManager
-
-
Constructor Summary
Constructors Constructor Description BodyParserEngineManagerImpl(com.google.inject.Injector injector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BodyParserEnginegetBodyParserEngineForContentType(String contentType)Find the body parser engine for the given content typeSet<String>getContentTypes()Returns a set of the registered body parser engine content types.protected voidlogBodyParserEngines()
-
-
-
Method Detail
-
getContentTypes
public Set<String> getContentTypes()
Description copied from interface:BodyParserEngineManagerReturns a set of the registered body parser engine content types.- Specified by:
getContentTypesin interfaceBodyParserEngineManager- Returns:
- the registered content types
-
getBodyParserEngineForContentType
public BodyParserEngine getBodyParserEngineForContentType(String contentType)
Description copied from interface:BodyParserEngineManagerFind the body parser engine for the given content type- Specified by:
getBodyParserEngineForContentTypein interfaceBodyParserEngineManager- Parameters:
contentType- The content type- Returns:
- The body parser engine, if found
-
logBodyParserEngines
protected final void logBodyParserEngines()
-
-