Class GenericMultipartReader

java.lang.Object
dev.getelements.elements.rt.jersey.GenericMultipartReader
All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyReader<Collection<?>>

@Singleton @Consumes("multipart/*") public class GenericMultipartReader extends Object implements jakarta.ws.rs.ext.MessageBodyReader<Collection<?>>
  • Constructor Details Link icon

    • GenericMultipartReader Link icon

      public GenericMultipartReader(@Context jakarta.ws.rs.ext.Providers providers)
  • Method Details Link icon

    • isReadable Link icon

      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<Collection<?>>
    • readFrom Link icon

      public Collection<?> readFrom(Class<Collection<?>> 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<Collection<?>>
      Throws:
      IOException
      jakarta.ws.rs.WebApplicationException