Package ninja.bodyparser
Interface BodyParserEngineManager
-
- All Known Implementing Classes:
BodyParserEngineManagerImpl
public interface BodyParserEngineManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BodyParserEngine
getBodyParserEngineForContentType(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.
-
-
-
Method Detail
-
getContentTypes
Set<String> getContentTypes()
Returns a set of the registered body parser engine content types.- Returns:
- the registered content types
-
getBodyParserEngineForContentType
BodyParserEngine getBodyParserEngineForContentType(String contentType)
Find the body parser engine for the given content type- Parameters:
contentType
- The content type- Returns:
- The body parser engine, if found
-
-