@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(java.lang.Class<javax.json.JsonStructure> rawType,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> httpHeaders,
java.io.InputStream entityStream) |
protected boolean |
shouldThrowNoContentExceptionOnEmptyStreams() |
getSize, isReadable, isWriteable, writeTopublic javax.json.JsonStructure readFrom(java.lang.Class<javax.json.JsonStructure> rawType,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> httpHeaders,
java.io.InputStream entityStream)
throws java.io.IOException
readFrom in interface javax.ws.rs.ext.MessageBodyReader<javax.json.JsonStructure>readFrom in class DelegateProvider<javax.json.JsonStructure>java.io.IOExceptionprotected boolean shouldThrowNoContentExceptionOnEmptyStreams()
shouldThrowNoContentExceptionOnEmptyStreams in class DelegateProvider<javax.json.JsonStructure>Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.