Package akka.http.scaladsl.server
Class UnacceptedResponseEncodingRejection
- java.lang.Object
-
- akka.http.scaladsl.server.UnacceptedResponseEncodingRejection
-
- All Implemented Interfaces:
Rejection
,UnacceptedResponseEncodingRejection
,Rejection
,java.io.Serializable
,scala.Equals
,scala.Product
public final class UnacceptedResponseEncodingRejection extends java.lang.Object implements UnacceptedResponseEncodingRejection, Rejection, scala.Product, java.io.Serializable
Rejection created by encoding filters. Signals that the request was rejected because the service is not capable of producing a response entity whose content encoding is accepted by the client- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnacceptedResponseEncodingRejection(scala.collection.immutable.Set<HttpEncoding> supported)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnacceptedResponseEncodingRejection
apply(HttpEncoding supported)
java.util.Set<HttpEncoding>
getSupported()
scala.collection.immutable.Set<HttpEncoding>
supported()
-
-
-
Constructor Detail
-
UnacceptedResponseEncodingRejection
public UnacceptedResponseEncodingRejection(scala.collection.immutable.Set<HttpEncoding> supported)
-
-
Method Detail
-
apply
public static UnacceptedResponseEncodingRejection apply(HttpEncoding supported)
-
supported
public scala.collection.immutable.Set<HttpEncoding> supported()
-
getSupported
public java.util.Set<HttpEncoding> getSupported()
- Specified by:
getSupported
in interfaceUnacceptedResponseEncodingRejection
-
-