@Provider
@Consumes(value={"application/json","text/json","*/*"})
public class JsonValueBodyReader
extends Object
implements javax.ws.rs.ext.MessageBodyReader<JsonValue>
| Constructor and Description |
|---|
JsonValueBodyReader() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isReadable(Class<?> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
JsonValue |
readFrom(Class<JsonValue> jsonValueClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> stringStringMultivaluedMap,
InputStream inputStream) |
public boolean isReadable(Class<?> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable in interface javax.ws.rs.ext.MessageBodyReader<JsonValue>public JsonValue readFrom(Class<JsonValue> jsonValueClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> stringStringMultivaluedMap, InputStream inputStream) throws IOException, javax.ws.rs.WebApplicationException
readFrom in interface javax.ws.rs.ext.MessageBodyReader<JsonValue>IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2025 Oracle. All rights reserved.