@Provider public class MultiPartFormRequestReader extends Object implements javax.ws.rs.ext.MessageBodyReader<ExecutionRequest>
Constructor and Description |
---|
MultiPartFormRequestReader() |
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) |
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.