@Singleton @ConstrainedTo(value=SERVER) public class MultiPartReaderServerSide extends MultiPartReaderClientSide
MessageBodyReader
implementation for MultiPart
entities.Constructor and Description |
---|
MultiPartReaderServerSide(jakarta.ws.rs.ext.Providers providers,
jakarta.inject.Provider<CloseableService> closeableServiceProvider) |
Modifier and Type | Method and Description |
---|---|
protected MultiPart |
readMultiPart(Class<MultiPart> type,
Type genericType,
Annotation[] annotations,
jakarta.ws.rs.core.MediaType mediaType,
jakarta.ws.rs.core.MultivaluedMap<String,String> headers,
InputStream stream) |
isReadable, readFrom
@Inject public MultiPartReaderServerSide(@Context jakarta.ws.rs.ext.Providers providers, jakarta.inject.Provider<CloseableService> closeableServiceProvider)
protected MultiPart readMultiPart(Class<MultiPart> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.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.