Class Marshalling.WithOpenCharset<A>
java.lang.Object
org.apache.pekko.http.scaladsl.marshalling.Marshalling.WithOpenCharset<A>
- All Implemented Interfaces:
- Serializable,- Marshalling<A>,- scala.Equals,- scala.Product
- Enclosing interface:
- Marshalling<A>
public static final class Marshalling.WithOpenCharset<A>
extends Object
implements Marshalling<A>, scala.Product, Serializable
A Marshalling to a specific 
pekko.http.scaladsl.model.MediaType with a flexible charset.- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.pekko.http.scaladsl.marshalling.MarshallingMarshalling.Opaque<A>, Marshalling.Opaque$, Marshalling.WithFixedContentType<A>, Marshalling.WithFixedContentType$, Marshalling.WithOpenCharset<A>, Marshalling.WithOpenCharset$
- 
Constructor SummaryConstructorsConstructorDescriptionWithOpenCharset(MediaType.WithOpenCharset mediaType, scala.Function1<HttpCharset, A> marshal) 
- 
Method SummaryModifier and TypeMethodDescription<B> Marshalling.WithOpenCharset<B>scala.Function1<HttpCharset,A> marshal()toOpaque(HttpCharset charset) Converts this marshalling to an opaque marshalling, i.e. a marshalling result that does not take part in content type negotiation.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator, productPrefix
- 
Constructor Details- 
WithOpenCharset
 
- 
- 
Method Details- 
mediaType
- 
marshal
- 
map- Specified by:
- mapin interface- Marshalling<A>
 
- 
toOpaqueDescription copied from interface:MarshallingConverts this marshalling to an opaque marshalling, i.e. a marshalling result that does not take part in content type negotiation. The given charset is used if this instance is aWithOpenCharsetmarshalling.- Specified by:
- toOpaquein interface- Marshalling<A>
- Parameters:
- charset- (undocumented)
- Returns:
- (undocumented)
 
 
-