Package akka.http.scaladsl.server
Class UnacceptedResponseContentTypeRejection
- java.lang.Object
-
- akka.http.scaladsl.server.UnacceptedResponseContentTypeRejection
-
- All Implemented Interfaces:
Rejection
,UnacceptedResponseContentTypeRejection
,Rejection
,java.io.Serializable
,scala.Equals
,scala.Product
public final class UnacceptedResponseContentTypeRejection extends java.lang.Object implements UnacceptedResponseContentTypeRejection, Rejection, scala.Product, java.io.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnacceptedResponseContentTypeRejection(scala.collection.immutable.Set<ContentNegotiator.Alternative> supported)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract static R
apply(T1 v1)
scala.collection.immutable.Set<ContentNegotiator.Alternative>
supported()
static java.lang.String
toString()
-
-
-
Constructor Detail
-
UnacceptedResponseContentTypeRejection
public UnacceptedResponseContentTypeRejection(scala.collection.immutable.Set<ContentNegotiator.Alternative> supported)
-
-
Method Detail
-
apply
public abstract static R apply(T1 v1)
-
toString
public static java.lang.String toString()
-
supported
public scala.collection.immutable.Set<ContentNegotiator.Alternative> supported()
- Specified by:
supported
in interfaceUnacceptedResponseContentTypeRejection
-
-