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