Class AtomFeedProvider

java.lang.Object
org.jboss.resteasy.plugins.providers.atom.AtomFeedProvider
All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyReader<Feed>, jakarta.ws.rs.ext.MessageBodyWriter<Feed>, AsyncBufferedMessageBodyWriter<Feed>, AsyncMessageBodyWriter<Feed>

@Provider @Produces("application/atom+*") @Consumes("application/atom+*") public class AtomFeedProvider extends Object implements jakarta.ws.rs.ext.MessageBodyReader<Feed>, AsyncBufferedMessageBodyWriter<Feed>
Version:
$Revision: 1 $
Author:
Bill Burke
  • Field Details

    • providers

      @Context protected jakarta.ws.rs.ext.Providers providers
  • Constructor Details

    • AtomFeedProvider

      public AtomFeedProvider()
  • Method Details

    • getFinder

      protected JAXBContextFinder getFinder(jakarta.ws.rs.core.MediaType type)
    • isReadable

      public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
      Specified by:
      isReadable in interface jakarta.ws.rs.ext.MessageBodyReader<Feed>
    • readFrom

      public Feed readFrom(Class<Feed> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException, jakarta.ws.rs.WebApplicationException
      Specified by:
      readFrom in interface jakarta.ws.rs.ext.MessageBodyReader<Feed>
      Throws:
      IOException
      jakarta.ws.rs.WebApplicationException
    • isWriteable

      public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
      Specified by:
      isWriteable in interface jakarta.ws.rs.ext.MessageBodyWriter<Feed>
    • getSize

      public long getSize(Feed feed, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
      Specified by:
      getSize in interface jakarta.ws.rs.ext.MessageBodyWriter<Feed>
    • writeTo

      public void writeTo(Feed feed, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) throws IOException, jakarta.ws.rs.WebApplicationException
      Specified by:
      writeTo in interface jakarta.ws.rs.ext.MessageBodyWriter<Feed>
      Throws:
      IOException
      jakarta.ws.rs.WebApplicationException