Class MapMultipartFormDataReader

java.lang.Object
org.jboss.resteasy.plugins.providers.multipart.MapMultipartFormDataReader
All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyReader<Map<?,?>>

@Provider @Consumes("multipart/form-data") public class MapMultipartFormDataReader extends Object implements jakarta.ws.rs.ext.MessageBodyReader<Map<?,?>>
Version:
$Revision: 1 $
Author:
Bill Burke
  • Field Details

    • workers

      @Context protected jakarta.ws.rs.ext.Providers workers
  • Constructor Details

    • MapMultipartFormDataReader

      public MapMultipartFormDataReader()
  • Method Details

    • 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<Map<?,?>>
    • readFrom

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