Class UnsatisfiableRangeRejection
java.lang.Object
org.apache.pekko.http.scaladsl.server.UnsatisfiableRangeRejection
- All Implemented Interfaces:
- Serializable,- Rejection,- UnsatisfiableRangeRejection,- Rejection,- scala.Equals,- scala.Product
public final class UnsatisfiableRangeRejection
extends Object
implements UnsatisfiableRangeRejection, Rejection, scala.Product, Serializable
Rejection created by range directives.
 Signals that the request was rejected because the requests contains only unsatisfiable ByteRanges.
 The actualEntityLength gives the client a hint to create satisfiable ByteRanges.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionUnsatisfiableRangeRejection(scala.collection.immutable.Seq<ByteRange> unsatisfiableRanges, long actualEntityLength) 
- 
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- 
UnsatisfiableRangeRejectionpublic UnsatisfiableRangeRejection(scala.collection.immutable.Seq<ByteRange> unsatisfiableRanges, long actualEntityLength) 
 
- 
- 
Method Details- 
applypublic abstract static R apply(T1 v1, T2 v2) 
- 
toString
- 
unsatisfiableRanges
- 
actualEntityLengthpublic long actualEntityLength()- Specified by:
- actualEntityLengthin interface- UnsatisfiableRangeRejection
 
- 
getUnsatisfiableRanges- Specified by:
- getUnsatisfiableRangesin interface- UnsatisfiableRangeRejection
 
 
-