- java.lang.Object
-
- io.helidon.media.multipart.MultiPartBodyReader
-
- All Implemented Interfaces:
MessageBodyOperator<MessageBodyReaderContext>,MessageBodyReader<MultiPart>
@Deprecated(since="2.5.0", forRemoval=true) public final class MultiPartBodyReader extends Object implements MessageBodyReader<MultiPart>
Deprecated, for removal: This API element is subject to removal in a future version.UseBodyPartBodyStreamReaderinstead. This interface will be removed at 3.0.0 version.ReadableMultiPartreader.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.helidon.media.common.MessageBodyOperator
MessageBodyOperator.PredicateResult
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MessageBodyOperator.PredicateResultaccept(GenericType<?> type, MessageBodyReaderContext ctx)Deprecated, for removal: This API element is subject to removal in a future version.Test if the operator can convert the given type.static MultiPartBodyReadercreate()Deprecated, for removal: This API element is subject to removal in a future version.Create a new instance ofMultiPartBodyReader.<U extends MultiPart>
Single<U>read(Flow.Publisher<DataChunk> publisher, GenericType<U> type, MessageBodyReaderContext context)Deprecated, for removal: This API element is subject to removal in a future version.Convert a HTTP payload into a Single publisher of the given type.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.helidon.media.common.MessageBodyReader
unmarshall, unmarshall
-
-
-
-
Method Detail
-
accept
public MessageBodyOperator.PredicateResult accept(GenericType<?> type, MessageBodyReaderContext ctx)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:MessageBodyOperatorTest if the operator can convert the given type.- Specified by:
acceptin interfaceMessageBodyOperator<MessageBodyReaderContext>- Parameters:
type- the requested typectx- the context providing the headers abstraction- Returns:
MessageBodyOperator.PredicateResultresult
-
read
public <U extends MultiPart> Single<U> read(Flow.Publisher<DataChunk> publisher, GenericType<U> type, MessageBodyReaderContext context)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:MessageBodyReaderConvert a HTTP payload into a Single publisher of the given type.- Specified by:
readin interfaceMessageBodyReader<MultiPart>- Type Parameters:
U- actual requested type parameter- Parameters:
publisher- HTTP payloadtype- requested typecontext- the context providing the headers abstraction- Returns:
- Single publisher
-
create
public static MultiPartBodyReader create()
Deprecated, for removal: This API element is subject to removal in a future version.Create a new instance ofMultiPartBodyReader.- Returns:
- MultiPartReader
-
-