public class CustomAtomFeedBodyReader extends Object implements javax.ws.rs.ext.MessageBodyReader<com.rometools.rome.feed.atom.Feed>
Constructor and Description |
---|
CustomAtomFeedBodyReader() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> clazz,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
com.rometools.rome.feed.atom.Feed |
readFrom(Class<com.rometools.rome.feed.atom.Feed> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> multivaluedMap,
InputStream inputStream) |
public boolean isReadable(Class<?> clazz, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<com.rometools.rome.feed.atom.Feed>
public com.rometools.rome.feed.atom.Feed readFrom(Class<com.rometools.rome.feed.atom.Feed> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> multivaluedMap, InputStream inputStream) throws javax.ws.rs.WebApplicationException
readFrom
in interface javax.ws.rs.ext.MessageBodyReader<com.rometools.rome.feed.atom.Feed>
javax.ws.rs.WebApplicationException
Copyright © 2010–2020. All rights reserved.