@Provider @Consumes(value="multipart/related") public class MultipartRelatedReader extends Object implements javax.ws.rs.ext.MessageBodyReader<MultipartRelatedInput>
MessageBodyReader
implementation to deserialize
MultipartRelatedInput
objects.Modifier and Type | Field and Description |
---|---|
protected javax.ws.rs.ext.Providers |
workers |
Constructor and Description |
---|
MultipartRelatedReader() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
MultipartRelatedInput |
readFrom(Class<MultipartRelatedInput> 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<MultipartRelatedInput>
public MultipartRelatedInput readFrom(Class<MultipartRelatedInput> 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<MultipartRelatedInput>
IOException
javax.ws.rs.WebApplicationException
Copyright © 2018 JBoss by Red Hat. All rights reserved.