// If Content-type is application/json; charset=utf-8 we split away the charset
// application/json
String contentTypeOnly = HttpHeaderUtils.getContentTypeFromContentTypeAndCharacterSetting(
rawContentType);
BodyParserEngine bodyParserEngine = bodyParserEngineManager
.getBodyParserEngineForContentType(contentTypeOnly);
if (bodyParserEngine == null) {
logger.debug("No BodyParserEngine found for Content-Type {} at route {}", CONTENT_TYPE, getRequestPath());
return null;
}
return bodyParserEngine.invoke(this, classOfT);
}