@Provider @Consumes(value="multipart/form-data") public class MultipartFormAnnotationReader extends Object implements javax.ws.rs.ext.MessageBodyReader<Object>
Modifier and Type | Field and Description |
---|---|
protected javax.ws.rs.ext.Providers |
workers |
Constructor and Description |
---|
MultipartFormAnnotationReader() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
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) |
protected boolean |
setFields(Class<?> type,
MultipartFormDataInputImpl input,
Object obj) |
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<Object>
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
readFrom
in interface javax.ws.rs.ext.MessageBodyReader<Object>
IOException
javax.ws.rs.WebApplicationException
protected boolean setFields(Class<?> type, MultipartFormDataInputImpl input, Object obj) throws IOException
IOException
Copyright © 2015 JBoss by Red Hat. All rights reserved.