@Provider @Consumes(value="*/*") public class FleeceMessageBodyReader<T> extends Object implements javax.ws.rs.ext.MessageBodyReader<T>
Constructor and Description |
---|
FleeceMessageBodyReader() |
FleeceMessageBodyReader(Mapper mapper) |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> rawType,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
T |
readFrom(Class<T> rawType,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
public FleeceMessageBodyReader()
public FleeceMessageBodyReader(Mapper mapper)
public boolean isReadable(Class<?> rawType, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<T>
public T readFrom(Class<T> rawType, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException
readFrom
in interface javax.ws.rs.ext.MessageBodyReader<T>
IOException
Copyright © 2014 The Apache Software Foundation. All rights reserved.