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