Class RangeFilter

java.lang.Object
org.restlet.Restlet
org.restlet.routing.Filter
org.restlet.engine.application.RangeFilter
All Implemented Interfaces:
Uniform

public class RangeFilter extends Filter
Filter that is in charge to check the responses to requests for partial content.
Author:
Thierry Boileau
  • Constructor Details

    • RangeFilter

      public RangeFilter(Context context)
      Constructor.
      Parameters:
      context - The parent context.
  • Method Details

    • afterHandle

      protected void afterHandle(Request request, Response response)
      Description copied from class: Filter
      Allows filtering after processing by the next Restlet. Does nothing by default.
      Overrides:
      afterHandle in class Filter
      Parameters:
      request - The request to handle.
      response - The response to update.
    • getRangeService

      public RangeService getRangeService()
      Returns the Range service of the parent application.
      Returns:
      The Range service of the parent application.