Package akka.http.scaladsl.server
Class UnacceptedResponseContentTypeRejection
java.lang.Object
akka.http.scaladsl.server.UnacceptedResponseContentTypeRejection
- All Implemented Interfaces:
Rejection
,UnacceptedResponseContentTypeRejection
,Rejection
,Serializable
,scala.Equals
,scala.Product
public final class UnacceptedResponseContentTypeRejection
extends Object
implements UnacceptedResponseContentTypeRejection, Rejection, scala.Product, Serializable
Rejection created by marshallers.
Signals that the request was rejected because the service is not capable of producing a response entity whose
content type is accepted by the client
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnacceptedResponseContentTypeRejection
(scala.collection.immutable.Set<ContentNegotiator.Alternative> supported) -
Method Summary
Modifier and TypeMethodDescriptionabstract static R
apply
(T1 v1) scala.collection.immutable.Set<ContentNegotiator.Alternative>
static String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
UnacceptedResponseContentTypeRejection
public UnacceptedResponseContentTypeRejection(scala.collection.immutable.Set<ContentNegotiator.Alternative> supported)
-
-
Method Details
-
apply
public abstract static R apply(T1 v1) -
toString
-
supported
- Specified by:
supported
in interfaceUnacceptedResponseContentTypeRejection
-