org.jboss.resteasy.plugins.providers.multipart
Class XopWithMultipartRelatedReader
java.lang.Object
org.jboss.resteasy.plugins.providers.multipart.XopWithMultipartRelatedReader
- All Implemented Interfaces:
- javax.ws.rs.ext.MessageBodyReader<Object>
@Provider
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 see XopWithMultipartRelated
.
- Version:
- $Revision: 1 $
- Author:
- Attila Kiraly
Field Summary |
protected javax.ws.rs.ext.Providers |
workers
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
workers
@Context
protected javax.ws.rs.ext.Providers workers
XopWithMultipartRelatedReader
public XopWithMultipartRelatedReader()
isReadable
public boolean isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
- Specified by:
isReadable
in interface javax.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:
readFrom
in interface javax.ws.rs.ext.MessageBodyReader<Object>
- Throws:
IOException
javax.ws.rs.WebApplicationException
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.