Class AbstractJaxbReadableProvider<T>

  • Type Parameters:
    T - the concrete type of provider
    All Implemented Interfaces:
    jakarta.ws.rs.ext.MessageBodyReader<T>

    public abstract class AbstractJaxbReadableProvider<T>
    extends AbstractReadableProvider<T>
    Provides common XML unmarshalling over REST.
    Author:
    aherscu
    • Constructor Detail

      • AbstractJaxbReadableProvider

        public AbstractJaxbReadableProvider()
    • Method Detail

      • readFrom

        public T readFrom​(Class<T> type,
                          Type genericType,
                          Annotation[] annotations,
                          jakarta.ws.rs.core.MediaType mediaType,
                          jakarta.ws.rs.core.MultivaluedMap<String,​String> httpHeaders,
                          InputStream entityStream)