Class UnacceptedResponseContentTypeRejection
java.lang.Object
org.apache.pekko.http.scaladsl.server.UnacceptedResponseContentTypeRejection
- All Implemented Interfaces:
Serializable,Rejection,UnacceptedResponseContentTypeRejection,Rejection,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 Rapply(T1 v1) scala.collection.immutable.Set<ContentNegotiator.Alternative>static StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods 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:
supportedin interfaceUnacceptedResponseContentTypeRejection
-