public abstract static class Multipart.General$.BodyPart extends java.lang.Object implements Multipart.BodyPart, Multipart.General.BodyPart
Multipart.General
model.Multipart.General.BodyPart.Strict
Constructor and Description |
---|
BodyPart() |
Modifier and Type | Method and Description |
---|---|
abstract scala.util.Try<org.apache.pekko.http.scaladsl.model.Multipart.ByteRanges.BodyPart> |
toByteRangesBodyPart() |
abstract scala.util.Try<org.apache.pekko.http.scaladsl.model.Multipart.FormData.BodyPart> |
toFormDataBodyPart() |
scala.concurrent.Future<org.apache.pekko.http.scaladsl.model.Multipart.General.BodyPart.Strict> |
toStrict(scala.concurrent.duration.FiniteDuration timeout,
org.apache.pekko.stream.Materializer fm) |
java.util.concurrent.CompletionStage<Multipart.General.BodyPart.Strict> |
toStrict(long timeoutMillis,
org.apache.pekko.stream.Materializer materializer)
Java API
|
<T> scala.util.Try<T> |
tryCreateByteRangesBodyPart(scala.Function3<ContentRange,RangeUnit,scala.collection.immutable.Seq<HttpHeader>,T> f) |
<T> scala.util.Try<T> |
tryCreateFormDataBodyPart(scala.Function3<java.lang.String,scala.collection.immutable.Map<java.lang.String,java.lang.String>,scala.collection.immutable.Seq<HttpHeader>,T> f) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contentDispositionHeader, dispositionParams, dispositionType, entity, getContentDispositionHeader, getDispositionParams, getDispositionType, getEntity, getHeaders, headers
public scala.concurrent.Future<org.apache.pekko.http.scaladsl.model.Multipart.General.BodyPart.Strict> toStrict(scala.concurrent.duration.FiniteDuration timeout, org.apache.pekko.stream.Materializer fm)
public abstract scala.util.Try<org.apache.pekko.http.scaladsl.model.Multipart.FormData.BodyPart> toFormDataBodyPart()
public abstract scala.util.Try<org.apache.pekko.http.scaladsl.model.Multipart.ByteRanges.BodyPart> toByteRangesBodyPart()
public java.util.concurrent.CompletionStage<Multipart.General.BodyPart.Strict> toStrict(long timeoutMillis, org.apache.pekko.stream.Materializer materializer)
toStrict
in interface Multipart.BodyPart
toStrict
in interface Multipart.General.BodyPart
public <T> scala.util.Try<T> tryCreateFormDataBodyPart(scala.Function3<java.lang.String,scala.collection.immutable.Map<java.lang.String,java.lang.String>,scala.collection.immutable.Seq<HttpHeader>,T> f)
public <T> scala.util.Try<T> tryCreateByteRangesBodyPart(scala.Function3<ContentRange,RangeUnit,scala.collection.immutable.Seq<HttpHeader>,T> f)