@Service(value=java.lang.Object.class) @Property(name="javax.ws.rs", boolValue=true) @Provider public class MultiPartFormMessageBodyReader extends Object implements javax.ws.rs.ext.MessageBodyReader<MultiPartBody>
MultiPartBody
object.Constructor and Description |
---|
MultiPartFormMessageBodyReader() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
MultiPartBody |
readFrom(Class<MultiPartBody> type,
Type genericType,
java.lang.annotation.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, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<MultiPartBody>
public MultiPartBody readFrom(Class<MultiPartBody> type, Type genericType, java.lang.annotation.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<MultiPartBody>
IOException
javax.ws.rs.WebApplicationException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.