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