public interface BodyParserEngine
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.
|
<T> T invoke(Context context, java.lang.Class<T> classOfT)
context
- The contextclassOfT
- The class we expectjava.lang.String getContentType()
Copyright © 2016 ninjaframework. All Rights Reserved.