Class Marshalling.Opaque<A>
java.lang.Object
org.apache.pekko.http.scaladsl.marshalling.Marshalling.Opaque<A>
- All Implemented Interfaces:
- Serializable,- Marshalling<A>,- scala.Equals,- scala.Product
- Enclosing interface:
- Marshalling<A>
public static final class Marshalling.Opaque<A>
extends Object
implements Marshalling<A>, scala.Product, Serializable
A Marshalling to an unknown MediaType and charset.
 Circumvents content negotiation.
- 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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription<B> Marshalling.Opaque<B>scala.Function0<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- 
Opaque
 
- 
- 
Method Details- 
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)
 
 
-