aerogear-controller 1.0.0
-
-
Method Summary
Methods
| Modifier and Type |
Method and Description |
String |
mediaType()
The media type that this consumer can handle.
|
String |
toString() |
<T> T |
unmarshall(javax.servlet.http.HttpServletRequest request,
Class<T> type)
Will unmarshall the the HttpServletRequest into an instance of type T
|
-
-
Constructor Detail
-
JsonConsumer
public JsonConsumer()
-
Method Detail
-
unmarshall
public <T> T unmarshall(javax.servlet.http.HttpServletRequest request,
Class<T> type)
Description copied from interface: Consumer
Will unmarshall the the HttpServletRequest into an instance of type T
- Specified by:
unmarshall in interface Consumer
- Parameters:
request - the HttpServletRequest.type - the type that the request should be unmarshalled to.
- Returns:
T an instance of type T.
aerogear-controller 1.0.0
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.