public class GetRecordsMessageBodyReader extends Object implements javax.ws.rs.ext.MessageBodyReader<CswRecordCollection>
Modifier and Type | Field and Description |
---|---|
static String |
BYTES_SKIPPED |
Constructor and Description |
---|
GetRecordsMessageBodyReader(com.thoughtworks.xstream.converters.Converter converter,
CswSourceConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
CswRecordCollection |
readFrom(Class<CswRecordCollection> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream inStream) |
public static final String BYTES_SKIPPED
public GetRecordsMessageBodyReader(com.thoughtworks.xstream.converters.Converter converter, CswSourceConfiguration configuration)
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<CswRecordCollection>
public CswRecordCollection readFrom(Class<CswRecordCollection> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream inStream) throws IOException, javax.ws.rs.WebApplicationException
readFrom
in interface javax.ws.rs.ext.MessageBodyReader<CswRecordCollection>
IOException
javax.ws.rs.WebApplicationException
This work is licensed under a Creative Commons Attribution 4.0 International License.