Package akka.http.javadsl.model
Interface MediaType.WithFixedCharset
-
- All Superinterfaces:
MediaType
,MediaType.NonBinary
- All Known Implementing Classes:
MediaType.WithFixedCharset
- Enclosing interface:
- MediaType
public static interface MediaType.WithFixedCharset extends MediaType.NonBinary
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface akka.http.javadsl.model.MediaType
MediaType.Binary, MediaType.Compressibility, MediaType.Multipart, MediaType.NonBinary, MediaType.WithFixedCharset, MediaType.WithOpenCharset
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContentType.WithFixedCharset
toContentType()
Turns the media type into a content type with a fixed, known charset.-
Methods inherited from interface akka.http.javadsl.model.MediaType
binary, isApplication, isAudio, isCompressible, isImage, isMessage, isMultipart, isText, isVideo, mainType, subType, toRange, toRange
-
-
-
-
Method Detail
-
toContentType
ContentType.WithFixedCharset toContentType()
Turns the media type into a content type with a fixed, known charset.- Returns:
- (undocumented)
-
-