@Provider @Consumes(value={"application/json","text/json","*/*"}) public class JsonStructureBodyReader extends Object implements javax.ws.rs.ext.MessageBodyReader<JsonStructure>
Constructor and Description |
---|
JsonStructureBodyReader() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
JsonStructure |
readFrom(Class<JsonStructure> jsonStructureClass,
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<JsonStructure>
public JsonStructure readFrom(Class<JsonStructure> jsonStructureClass, 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<JsonStructure>
IOException
javax.ws.rs.WebApplicationException
Copyright © 2024 Oracle. All rights reserved.