Class NoContentExceptionHandlerReader<T>

  • All Implemented Interfaces:
    jakarta.ws.rs.ext.MessageBodyReader<T>

    public class NoContentExceptionHandlerReader<T>
    extends Object
    implements jakarta.ws.rs.ext.MessageBodyReader<T>
    • Field Detail

      • delegate

        private final jakarta.ws.rs.ext.MessageBodyReader<T> delegate
    • Constructor Detail

      • NoContentExceptionHandlerReader

        public NoContentExceptionHandlerReader​(jakarta.ws.rs.ext.MessageBodyReader<T> delegate)
    • Method Detail

      • getDelegate

        public jakarta.ws.rs.ext.MessageBodyReader<T> getDelegate()
      • 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<T>
      • 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)
                   throws IOException,
                          jakarta.ws.rs.WebApplicationException
        Specified by:
        readFrom in interface jakarta.ws.rs.ext.MessageBodyReader<T>
        Throws:
        IOException
        jakarta.ws.rs.WebApplicationException