Class XopWithMultipartRelatedReader

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

@Provider @Consumes("multipart/related") public class XopWithMultipartRelatedReader extends Object implements jakarta.ws.rs.ext.MessageBodyReader<Object>
This provider is for reading xop packages packed as multipart/related. For more information see XopWithMultipartRelated.
Version:
$Revision: 1 $
Author:
Attila Kiraly
  • Field Details

    • workers

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

    • XopWithMultipartRelatedReader

      public XopWithMultipartRelatedReader()
  • 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<Object>
    • readFrom

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