Class ListResponseProvider

    • Constructor Detail

      • ListResponseProvider

        public ListResponseProvider()
    • Method Detail

      • 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<ListResponse>
      • readFrom

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