com.atlassian.gadgets.publisher.internal.rest
Class FeedWriter
java.lang.Object
com.atlassian.gadgets.publisher.internal.rest.FeedWriter
- All Implemented Interfaces:
- javax.ws.rs.ext.MessageBodyWriter<com.sun.syndication.feed.atom.Feed>
@Provider
public class FeedWriter
- extends Object
- implements javax.ws.rs.ext.MessageBodyWriter<com.sun.syndication.feed.atom.Feed>
Method Summary |
long |
getSize(com.sun.syndication.feed.atom.Feed t,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
|
boolean |
isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
|
void |
writeTo(com.sun.syndication.feed.atom.Feed feed,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FeedWriter
public FeedWriter()
getSize
public long getSize(com.sun.syndication.feed.atom.Feed t,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
- Specified by:
getSize
in interface javax.ws.rs.ext.MessageBodyWriter<com.sun.syndication.feed.atom.Feed>
isWriteable
public boolean isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
- Specified by:
isWriteable
in interface javax.ws.rs.ext.MessageBodyWriter<com.sun.syndication.feed.atom.Feed>
writeTo
public void writeTo(com.sun.syndication.feed.atom.Feed feed,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream)
throws IOException
- Specified by:
writeTo
in interface javax.ws.rs.ext.MessageBodyWriter<com.sun.syndication.feed.atom.Feed>
- Throws:
IOException
Copyright © 2010 Atlassian. All Rights Reserved.