@Provider public class MultiPartRequestReader extends Object implements javax.ws.rs.ext.MessageBodyReader<ExecutionRequest>
Modifier and Type | Field and Description |
---|---|
protected javax.servlet.http.HttpServletRequest |
request |
Constructor and Description |
---|
MultiPartRequestReader() |
Modifier and Type | Method and Description |
---|---|
CoreSession |
getCoreSession() |
boolean |
isReadable(Class<?> arg0,
Type arg1,
Annotation[] arg2,
javax.ws.rs.core.MediaType arg3) |
static Blob |
readBlob(javax.servlet.http.HttpServletRequest request,
javax.mail.BodyPart part) |
ExecutionRequest |
readFrom(Class<ExecutionRequest> arg0,
Type arg1,
Annotation[] arg2,
javax.ws.rs.core.MediaType arg3,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
InputStream in) |
@Context protected javax.servlet.http.HttpServletRequest request
public MultiPartRequestReader()
public CoreSession getCoreSession()
public boolean isReadable(Class<?> arg0, Type arg1, Annotation[] arg2, javax.ws.rs.core.MediaType arg3)
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<ExecutionRequest>
public ExecutionRequest readFrom(Class<ExecutionRequest> arg0, Type arg1, Annotation[] arg2, javax.ws.rs.core.MediaType arg3, javax.ws.rs.core.MultivaluedMap<String,String> headers, InputStream in) throws IOException, javax.ws.rs.WebApplicationException
readFrom
in interface javax.ws.rs.ext.MessageBodyReader<ExecutionRequest>
IOException
javax.ws.rs.WebApplicationException
public static Blob readBlob(javax.servlet.http.HttpServletRequest request, javax.mail.BodyPart part) throws javax.mail.MessagingException, IOException
javax.mail.MessagingException
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.