public class BodyParserEnginePost extends Object implements BodyParserEngine
| Constructor and Description |
|---|
BodyParserEnginePost(ParamParsers paramParsers) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType()
The content type this BodyParserEngine can handle
MUST BE THREAD SAFE TO CALL!
|
<T> T |
invoke(Context context,
Class<T> classOfT)
Invoke the parser and get back a Java object populated
with the content of this request.
|
@Inject public BodyParserEnginePost(ParamParsers paramParsers)
public <T> T invoke(Context context, Class<T> classOfT)
BodyParserEngineinvoke in interface BodyParserEnginecontext - The contextclassOfT - The class we expectpublic String getContentType()
BodyParserEnginegetContentType in interface BodyParserEngineCopyright © 2019 ninjaframework. All rights reserved.