@Provider @Produces(value="application/atom+xml") public class FeedEntriesAtomBodyWriter extends Object implements MessageBodyWriter<List<FeedEntry>>
| Constructor and Description |
|---|
FeedEntriesAtomBodyWriter() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(List<FeedEntry> feeds,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
void |
writeTo(List<FeedEntry> entries,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
isWriteable in interface MessageBodyWriter<List<FeedEntry>>public void writeTo(List<FeedEntry> entries, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) throws IOException, WebApplicationException
writeTo in interface MessageBodyWriter<List<FeedEntry>>IOExceptionWebApplicationExceptionpublic long getSize(List<FeedEntry> feeds, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
getSize in interface MessageBodyWriter<List<FeedEntry>>Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.