Package akka.http.scaladsl.model
Class MediaType.Multipart
- java.lang.Object
-
- akka.http.scaladsl.model.MediaType
-
- akka.http.scaladsl.model.MediaType.Binary
-
- akka.http.scaladsl.model.MediaType.Multipart
-
- All Implemented Interfaces:
LazyValueBytesRenderable
,Renderable
,MediaType
,MediaType.Binary
,MediaType.Multipart
,WithQValue<MediaRange>
- Enclosing class:
- MediaType
public static final class MediaType.Multipart extends MediaType.Binary implements MediaType.Multipart
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class akka.http.scaladsl.model.MediaType
MediaType.Binary, MediaType.Compressibility, MediaType.Compressible$, MediaType.Gzipped$, MediaType.Multipart, MediaType.NonBinary, MediaType.NonMultipartWithOpenCharset, MediaType.NotCompressible$, MediaType.WithFixedCharset, MediaType.WithOpenCharset
-
Nested classes/interfaces inherited from interface akka.http.javadsl.model.MediaType
MediaType.Binary, MediaType.Compressibility, MediaType.Multipart, MediaType.NonBinary, MediaType.WithFixedCharset, MediaType.WithOpenCharset
-
-
Constructor Summary
Constructors Constructor Description Multipart(java.lang.String subType, scala.collection.immutable.Map<java.lang.String,java.lang.String> _params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isMultipart()
scala.collection.immutable.Map<java.lang.String,java.lang.String>
params()
MediaType.Multipart
withBoundary(java.lang.String boundary)
MediaType.Multipart
withParams(scala.collection.immutable.Map<java.lang.String,java.lang.String> params)
-
Methods inherited from class akka.http.scaladsl.model.MediaType.Binary
binary, comp, fileExtensions, toContentType, value, withComp
-
Methods inherited from class akka.http.scaladsl.model.MediaType
applicationBinary, applicationWithFixedCharset, applicationWithOpenCharset, audio, custom, customBinary, customMultipart, customWithFixedCharset, customWithOpenCharset, equals, font, hashCode, image, isApplication, isAudio, isCompressible, isImage, isMessage, isText, isVideo, mainType, message, parse, subType, text, textWithFixedCharset, toRange, toRange, unapply, video, withQValue
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.http.impl.util.LazyValueBytesRenderable
render, toString, valueBytes
-
Methods inherited from interface akka.http.javadsl.model.MediaType
binary, isApplication, isAudio, isCompressible, isImage, isMessage, isText, isVideo, mainType, subType, toRange, toRange
-
Methods inherited from interface akka.http.javadsl.model.MediaType.Binary
toContentType
-
Methods inherited from interface akka.http.scaladsl.model.WithQValue
withQValue
-
-
-
-
Method Detail
-
isMultipart
public boolean isMultipart()
- Specified by:
isMultipart
in interfaceMediaType
- Overrides:
isMultipart
in classMediaType
-
params
public scala.collection.immutable.Map<java.lang.String,java.lang.String> params()
- Overrides:
params
in classMediaType.Binary
-
withBoundary
public MediaType.Multipart withBoundary(java.lang.String boundary)
-
withParams
public MediaType.Multipart withParams(scala.collection.immutable.Map<java.lang.String,java.lang.String> params)
- Overrides:
withParams
in classMediaType.Binary
-
-