Constructor and Description |
---|
WorkspaceBodyReader() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
Map |
readFrom(Class<Map> 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<?> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<Map>
public Map readFrom(Class<Map> 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<Map>
IOException
javax.ws.rs.WebApplicationException
This work is licensed under a Creative Commons Attribution 4.0 International License.