public interface Consumer
| Modifier and Type | Method and Description |
|---|---|
String |
mediaType()
The media type that this consumer can handle.
|
<T> T |
unmarshall(javax.servlet.http.HttpServletRequest request,
Class<T> type)
Will unmarshall the the HttpServletRequest into an instance of type T
|
String mediaType()
String the media type that this consumer can handle.<T> T unmarshall(javax.servlet.http.HttpServletRequest request,
Class<T> type)
request - the HttpServletRequest.type - the type that the request should be unmarshalled to.T an instance of type T.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.