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