@Provider public class ClusterCoordsProvider extends Object implements javax.ws.rs.ext.MessageBodyReader<ClusterCoords>
Constructor and Description |
---|
ClusterCoordsProvider() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
ClusterCoords |
readFrom(Class<ClusterCoords> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
public ClusterCoordsProvider()
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<ClusterCoords>
public ClusterCoords readFrom(Class<ClusterCoords> 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<ClusterCoords>
IOException
javax.ws.rs.WebApplicationException
Copyright © 2018. All Rights Reserved.