Class XopWithMultipartRelatedReader
- java.lang.Object
-
- org.jboss.resteasy.plugins.providers.multipart.XopWithMultipartRelatedReader
-
- All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyReader<Object>
@Provider @Consumes("multipart/related") public class XopWithMultipartRelatedReader extends Object implements javax.ws.rs.ext.MessageBodyReader<Object>This provider is for reading xop packages packed as multipart/related. For more information seeXopWithMultipartRelated.- Version:
- $Revision: 1 $
- Author:
- Attila Kiraly
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.ws.rs.ext.Providersworkers
-
Constructor Summary
Constructors Constructor Description XopWithMultipartRelatedReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)ObjectreadFrom(Class<Object> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream)
-
-
-
Method Detail
-
isReadable
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
- Specified by:
isReadablein interfacejavax.ws.rs.ext.MessageBodyReader<Object>
-
readFrom
public Object readFrom(Class<Object> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException, javax.ws.rs.WebApplicationException
- Specified by:
readFromin interfacejavax.ws.rs.ext.MessageBodyReader<Object>- Throws:
IOExceptionjavax.ws.rs.WebApplicationException
-
-