@Provider public class MultiPartRequestReader extends Object implements MessageBodyReader<ExecutionRequest>
Constructor and Description |
---|
MultiPartRequestReader() |
Modifier and Type | Method and Description |
---|---|
CoreSession |
getCoreSession() |
boolean |
isReadable(Class<?> arg0,
Type arg1,
Annotation[] arg2,
MediaType arg3) |
static Blob |
readBlob(HttpServletRequest request,
BodyPart part) |
ExecutionRequest |
readFrom(Class<ExecutionRequest> arg0,
Type arg1,
Annotation[] arg2,
MediaType arg3,
MultivaluedMap<String,String> headers,
InputStream in) |
public CoreSession getCoreSession()
public boolean isReadable(Class<?> arg0, Type arg1, Annotation[] arg2, MediaType arg3)
isReadable
in interface MessageBodyReader<ExecutionRequest>
public ExecutionRequest readFrom(Class<ExecutionRequest> arg0, Type arg1, Annotation[] arg2, MediaType arg3, MultivaluedMap<String,String> headers, InputStream in) throws IOException, WebApplicationException
readFrom
in interface MessageBodyReader<ExecutionRequest>
IOException
WebApplicationException
public static Blob readBlob(HttpServletRequest request, BodyPart part) throws Exception
Exception
Copyright © 2013 Nuxeo SA. All Rights Reserved.