Package akka.http.scaladsl.server
Class TooManyRangesRejection
java.lang.Object
akka.http.scaladsl.server.TooManyRangesRejection
- All Implemented Interfaces:
Rejection
,TooManyRangesRejection
,Rejection
,Serializable
,scala.Equals
,scala.Product
public final class TooManyRangesRejection
extends Object
implements TooManyRangesRejection, Rejection, scala.Product, Serializable
Rejection created by range directives.
Signals that the request contains too many ranges. An irregular high number of ranges
indicates a broken client or a denial of service attack.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
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
-
TooManyRangesRejection
public TooManyRangesRejection(int maxRanges)
-
-
Method Details
-
apply
public abstract static R apply(T1 v1) -
toString
-
maxRanges
public int maxRanges()- Specified by:
maxRanges
in interfaceTooManyRangesRejection
-