Interface UnsatisfiableRangeRejection

All Superinterfaces:
Rejection
All Known Implementing Classes:
UnsatisfiableRangeRejection

public interface UnsatisfiableRangeRejection extends Rejection
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.
  • Method Details

    • actualEntityLength

      long actualEntityLength()
    • getUnsatisfiableRanges

      Iterable<ByteRange> getUnsatisfiableRanges()