de.deepamehta.plugins.topicmaps.provider
Class ClusterCoordsProvider
java.lang.Object
de.deepamehta.plugins.topicmaps.provider.ClusterCoordsProvider
- All Implemented Interfaces:
- javax.ws.rs.ext.MessageBodyReader<ClusterCoords>
@Provider
public class ClusterCoordsProvider
- extends Object
- implements javax.ws.rs.ext.MessageBodyReader<ClusterCoords>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusterCoordsProvider
public ClusterCoordsProvider()
isReadable
public boolean isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
- Specified by:
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<ClusterCoords>
readFrom
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
- Specified by:
readFrom
in interface javax.ws.rs.ext.MessageBodyReader<ClusterCoords>
- Throws:
IOException
javax.ws.rs.WebApplicationException
Copyright © 2014. All Rights Reserved.