Package akka.http.scaladsl.model
Class Multipart.General$.BodyPart
- java.lang.Object
-
- akka.http.scaladsl.model.Multipart.General$.BodyPart
-
- All Implemented Interfaces:
Multipart.BodyPart,Multipart.General.BodyPart,Multipart.BodyPart
- Enclosing class:
- Multipart.General$
public abstract static class Multipart.General$.BodyPart extends java.lang.Object implements Multipart.BodyPart, Multipart.General.BodyPart
Body part of theMultipart.Generalmodel.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface akka.http.javadsl.model.Multipart.BodyPart
Multipart.BodyPart.Strict
-
Nested classes/interfaces inherited from interface akka.http.javadsl.model.Multipart.General.BodyPart
Multipart.General.BodyPart.Strict
-
-
Constructor Summary
Constructors Constructor Description BodyPart()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract scala.util.Try<akka.http.scaladsl.model.Multipart.ByteRanges.BodyPart>toByteRangesBodyPart()abstract scala.util.Try<akka.http.scaladsl.model.Multipart.FormData.BodyPart>toFormDataBodyPart()java.util.concurrent.CompletionStage<Multipart.General.BodyPart.Strict>toStrict(long timeoutMillis, akka.stream.Materializer materializer)Java APIscala.concurrent.Future<akka.http.scaladsl.model.Multipart.General.BodyPart.Strict>toStrict(scala.concurrent.duration.FiniteDuration timeout, akka.stream.Materializer fm)<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)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.http.scaladsl.model.Multipart.BodyPart
contentDispositionHeader, dispositionParams, dispositionType, entity, getContentDispositionHeader, getDispositionParams, getDispositionType, getEntity, getHeaders, headers
-
-
-
-
Method Detail
-
toStrict
public scala.concurrent.Future<akka.http.scaladsl.model.Multipart.General.BodyPart.Strict> toStrict(scala.concurrent.duration.FiniteDuration timeout, akka.stream.Materializer fm)- Specified by:
toStrictin interfaceMultipart.BodyPart
-
toFormDataBodyPart
public abstract scala.util.Try<akka.http.scaladsl.model.Multipart.FormData.BodyPart> toFormDataBodyPart()
-
toByteRangesBodyPart
public abstract scala.util.Try<akka.http.scaladsl.model.Multipart.ByteRanges.BodyPart> toByteRangesBodyPart()
-
toStrict
public java.util.concurrent.CompletionStage<Multipart.General.BodyPart.Strict> toStrict(long timeoutMillis, akka.stream.Materializer materializer)
Java API- Specified by:
toStrictin interfaceMultipart.BodyPart- Specified by:
toStrictin interfaceMultipart.BodyPart- Specified by:
toStrictin interfaceMultipart.General.BodyPart
-
tryCreateFormDataBodyPart
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)
-
tryCreateByteRangesBodyPart
public <T> scala.util.Try<T> tryCreateByteRangesBodyPart(scala.Function3<ContentRange,RangeUnit,scala.collection.immutable.Seq<HttpHeader>,T> f)
-
-