org.apache.wink.providers.abdera
Class AbderaAtomFeedProvider
java.lang.Object
org.apache.wink.providers.abdera.AbderaAtomFeedProvider
- All Implemented Interfaces:
- javax.ws.rs.ext.MessageBodyReader<org.apache.abdera.model.Feed>, javax.ws.rs.ext.MessageBodyWriter<org.apache.abdera.model.Feed>
@Provider
public class AbderaAtomFeedProvider
- extends java.lang.Object
- implements javax.ws.rs.ext.MessageBodyWriter<org.apache.abdera.model.Feed>, javax.ws.rs.ext.MessageBodyReader<org.apache.abdera.model.Feed>
Method Summary |
long |
getSize(org.apache.abdera.model.Feed feed,
java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
|
boolean |
isReadable(java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
|
boolean |
isWriteable(java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
|
org.apache.abdera.model.Feed |
readFrom(java.lang.Class<org.apache.abdera.model.Feed> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> httpHeaders,
java.io.InputStream entityStream)
|
void |
writeTo(org.apache.abdera.model.Feed feed,
java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> httpHeaders,
java.io.OutputStream entityStream)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbderaAtomFeedProvider
public AbderaAtomFeedProvider()
getSize
public long getSize(org.apache.abdera.model.Feed feed,
java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
- Specified by:
getSize
in interface javax.ws.rs.ext.MessageBodyWriter<org.apache.abdera.model.Feed>
isWriteable
public boolean isWriteable(java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
- Specified by:
isWriteable
in interface javax.ws.rs.ext.MessageBodyWriter<org.apache.abdera.model.Feed>
writeTo
public void writeTo(org.apache.abdera.model.Feed feed,
java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> httpHeaders,
java.io.OutputStream entityStream)
throws java.io.IOException
- Specified by:
writeTo
in interface javax.ws.rs.ext.MessageBodyWriter<org.apache.abdera.model.Feed>
- Throws:
java.io.IOException
isReadable
public boolean isReadable(java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
- Specified by:
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<org.apache.abdera.model.Feed>
readFrom
public org.apache.abdera.model.Feed readFrom(java.lang.Class<org.apache.abdera.model.Feed> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> httpHeaders,
java.io.InputStream entityStream)
throws java.io.IOException
- Specified by:
readFrom
in interface javax.ws.rs.ext.MessageBodyReader<org.apache.abdera.model.Feed>
- Throws:
java.io.IOException
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.