Class AtomEntryProvider

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

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

    • providers

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

    • AtomEntryProvider

      public AtomEntryProvider()
  • 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<Entry>
    • readFrom

      public Entry readFrom(Class<Entry> 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<Entry>
      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<Entry>
    • getSize

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

      public void writeTo(Entry entry, 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<Entry>
      Throws:
      IOException
      jakarta.ws.rs.WebApplicationException