@Provider public class JsonObjectBodyReader extends Object implements javax.ws.rs.ext.MessageBodyReader<io.vertx.core.json.JsonObject>
| Constructor and Description |
|---|
JsonObjectBodyReader() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
io.vertx.core.json.JsonObject |
readFrom(Class<io.vertx.core.json.JsonObject> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable in interface javax.ws.rs.ext.MessageBodyReader<io.vertx.core.json.JsonObject>public io.vertx.core.json.JsonObject readFrom(Class<io.vertx.core.json.JsonObject> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException, javax.ws.rs.WebApplicationException
readFrom in interface javax.ws.rs.ext.MessageBodyReader<io.vertx.core.json.JsonObject>IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2017. All rights reserved.