Class MultiPartReaderServerSide
java.lang.Object
org.glassfish.jersey.media.multipart.internal.MultiPartReaderClientSide
org.glassfish.jersey.media.multipart.internal.MultiPartReaderServerSide
- All Implemented Interfaces:
MessageBodyReader<MultiPart>
@Singleton
@ConstrainedTo(SERVER)
public class MultiPartReaderServerSide
extends MultiPartReaderClientSide
MessageBodyReader
implementation for MultiPart
entities.- Author:
- Craig McClanahan, Paul Sandoz, Michal Gajdos
-
Constructor Summary
ConstructorDescriptionMultiPartReaderServerSide
(Providers providers, jakarta.inject.Provider<CloseableService> closeableServiceProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected MultiPart
readMultiPart
(Class<MultiPart> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> headers, InputStream stream) Methods inherited from class org.glassfish.jersey.media.multipart.internal.MultiPartReaderClientSide
isReadable, readFrom
-
Constructor Details
-
MultiPartReaderServerSide
@Inject public MultiPartReaderServerSide(@Context Providers providers, jakarta.inject.Provider<CloseableService> closeableServiceProvider)
-
-
Method Details
-
readMultiPart
protected MultiPart readMultiPart(Class<MultiPart> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> headers, InputStream stream) throws IOException, org.jvnet.mimepull.MIMEParsingException- Overrides:
readMultiPart
in classMultiPartReaderClientSide
- Throws:
IOException
org.jvnet.mimepull.MIMEParsingException
-