Class TooManyRangesRejection
java.lang.Object
org.apache.pekko.http.scaladsl.server.TooManyRangesRejection
- All Implemented Interfaces:
- Serializable,- Rejection,- TooManyRangesRejection,- Rejection,- 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 SummaryConstructors
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator, productPrefix
- 
Constructor Details- 
TooManyRangesRejectionpublic TooManyRangesRejection(int maxRanges) 
 
- 
- 
Method Details- 
applypublic abstract static R apply(T1 v1) 
- 
toString
- 
maxRangespublic int maxRanges()- Specified by:
- maxRangesin interface- TooManyRangesRejection
 
 
-