public final class UnsupportedRequestContentTypeRejection extends java.lang.Object implements UnsupportedRequestContentTypeRejection, Rejection, scala.Product, java.io.Serializable
| Constructor and Description |
|---|
UnsupportedRequestContentTypeRejection(scala.collection.immutable.Set<ContentTypeRange> supported)
Deprecated.
for binary compatibility. Since Akka HTTP 10.1.9.
|
UnsupportedRequestContentTypeRejection(scala.collection.immutable.Set<ContentTypeRange> supported,
scala.Option<ContentType> contentType) |
| Modifier and Type | Method and Description |
|---|---|
static UnsupportedRequestContentTypeRejection |
apply(scala.collection.immutable.Set<ContentTypeRange> supported)
Deprecated.
for binary compatibility. Since Akka HTTP 10.1.9.
|
static UnsupportedRequestContentTypeRejection |
apply(scala.collection.immutable.Set<ContentTypeRange> supported,
scala.Option<ContentType> contentType) |
boolean |
canEqual(java.lang.Object that) |
scala.Option<ContentType> |
contentType() |
UnsupportedRequestContentTypeRejection |
copy(scala.collection.immutable.Set<ContentTypeRange> supported)
Deprecated.
for binary compatibility. Since Akka HTTP 10.1.9.
|
UnsupportedRequestContentTypeRejection |
copy(scala.collection.immutable.Set<ContentTypeRange> supported,
scala.Option<ContentType> contentType)
Deprecated.
for binary compatibility. Since Akka HTTP 10.1.9.
|
boolean |
equals(java.lang.Object that) |
java.util.Set<ContentTypeRange> |
getSupported() |
int |
productArity() |
java.lang.Object |
productElement(int n) |
scala.collection.immutable.Set<ContentTypeRange> |
supported() |
static java.lang.String |
toString() |
static scala.Option<scala.collection.immutable.Set<ContentTypeRange>> |
unapply(UnsupportedRequestContentTypeRejection rejection) |
public UnsupportedRequestContentTypeRejection(scala.collection.immutable.Set<ContentTypeRange> supported, scala.Option<ContentType> contentType)
public UnsupportedRequestContentTypeRejection(scala.collection.immutable.Set<ContentTypeRange> supported)
public static UnsupportedRequestContentTypeRejection apply(scala.collection.immutable.Set<ContentTypeRange> supported, scala.Option<ContentType> contentType)
public static UnsupportedRequestContentTypeRejection apply(scala.collection.immutable.Set<ContentTypeRange> supported)
public static scala.Option<scala.collection.immutable.Set<ContentTypeRange>> unapply(UnsupportedRequestContentTypeRejection rejection)
public static java.lang.String toString()
public scala.collection.immutable.Set<ContentTypeRange> supported()
public scala.Option<ContentType> contentType()
public java.util.Set<ContentTypeRange> getSupported()
getSupported in interface UnsupportedRequestContentTypeRejectionpublic UnsupportedRequestContentTypeRejection copy(scala.collection.immutable.Set<ContentTypeRange> supported)
public UnsupportedRequestContentTypeRejection copy(scala.collection.immutable.Set<ContentTypeRange> supported, scala.Option<ContentType> contentType)
public boolean canEqual(java.lang.Object that)
canEqual in interface scala.Equalspublic boolean equals(java.lang.Object that)
equals in interface scala.Equalsequals in class java.lang.Objectpublic int productArity()
productArity in interface scala.Productpublic java.lang.Object productElement(int n)
productElement in interface scala.Product