@Provider @Produces(value="application/json") @Consumes(value="application/json") public class JsrProvider extends DelegateProvider<javax.json.JsonStructure>
| Constructor and Description |
|---|
JsrProvider() |
| Modifier and Type | Method and Description |
|---|---|
javax.json.JsonStructure |
readFrom(Class<javax.json.JsonStructure> rawType,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
protected boolean |
shouldThrowNoContentExceptionOnEmptyStreams() |
getSize, isReadable, isWriteable, writeTopublic javax.json.JsonStructure readFrom(Class<javax.json.JsonStructure> rawType, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException
readFrom in interface javax.ws.rs.ext.MessageBodyReader<javax.json.JsonStructure>readFrom in class DelegateProvider<javax.json.JsonStructure>IOExceptionprotected boolean shouldThrowNoContentExceptionOnEmptyStreams()
shouldThrowNoContentExceptionOnEmptyStreams in class DelegateProvider<javax.json.JsonStructure>Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.