Class AtomFeedProvider

    • Field Detail

      • providers

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

      • AtomFeedProvider

        public AtomFeedProvider()
    • Method Detail

      • 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