public static class Multipart.General$.BodyPart$.Strict extends org.apache.pekko.http.scaladsl.model.Multipart.General.BodyPart implements Multipart.BodyPart.Strict, Multipart.General.BodyPart.Strict, scala.Product, java.io.Serializable
General.BodyPart
.Multipart.General.BodyPart.Strict
Constructor and Description |
---|
Strict(HttpEntity.Strict entity,
scala.collection.immutable.Seq<HttpHeader> headers) |
Modifier and Type | Method and Description |
---|---|
HttpEntity.Strict |
entity() |
scala.collection.immutable.Seq<HttpHeader> |
headers() |
java.lang.String |
productPrefix() |
scala.util.Try<org.apache.pekko.http.scaladsl.model.Multipart.ByteRanges.BodyPart.Strict> |
toByteRangesBodyPart() |
scala.util.Try<org.apache.pekko.http.scaladsl.model.Multipart.FormData.BodyPart.Strict> |
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toStrict
getEntity
getContentDispositionHeader, getDispositionParams, getDispositionType, getHeaders
public Strict(HttpEntity.Strict entity, scala.collection.immutable.Seq<HttpHeader> headers)
public HttpEntity.Strict entity()
public scala.collection.immutable.Seq<HttpHeader> 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 scala.util.Try<org.apache.pekko.http.scaladsl.model.Multipart.FormData.BodyPart.Strict> toFormDataBodyPart()
public scala.util.Try<org.apache.pekko.http.scaladsl.model.Multipart.ByteRanges.BodyPart.Strict> toByteRangesBodyPart()
public java.lang.String productPrefix()
productPrefix
in interface scala.Product