public final class MultiPartAsyncContentProvider extends ConcatenatedAsyncContentProvider
AbstractAsyncContentProvider.OnlyProcessedHandlingAsyncContentListener| Modifier and Type | Method and Description |
|---|---|
static MultiPartAsyncContentProvider |
create(Optional<String> boundary,
Part... parts)
Constructor.
|
doClose, getContentLength, getContentType, provideNextChunkclose, getFailure, handleErrorFromInput, handleSuccess, isClosed, onContent, onError, onSuccesspublic static MultiPartAsyncContentProvider create(Optional<String> boundary, Part... parts)
boundary - An optional boundary that is used in the HTTP request body to separate the different
parts. If not specified, a random boundary is generated.parts - The set of parts that will be included in the body of the request.AsyncContentProvider instance.Copyright © 2011–2019 Everit Kft.. All rights reserved.