@Singleton @ConstrainedTo(value=SERVER) public class MultiPartReaderServerSide extends MultiPartReaderClientSide
MessageBodyReader
implementation for MultiPart
entities.Constructor and Description |
---|
MultiPartReaderServerSide(javax.ws.rs.ext.Providers providers,
javax.inject.Provider<CloseableService> closeableServiceProvider) |
Modifier and Type | Method and Description |
---|---|
protected MultiPart |
readMultiPart(Class<MultiPart> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
InputStream stream) |
isReadable, readFrom
@Inject public MultiPartReaderServerSide(@Context javax.ws.rs.ext.Providers providers, javax.inject.Provider<CloseableService> closeableServiceProvider)
protected MultiPart readMultiPart(Class<MultiPart> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> headers, InputStream stream) throws IOException, org.jvnet.mimepull.MIMEParsingException
readMultiPart
in class MultiPartReaderClientSide
IOException
org.jvnet.mimepull.MIMEParsingException
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.