Package org.restlet.engine.application
Class RangeFilter
java.lang.Object
org.restlet.Restlet
org.restlet.routing.Filter
org.restlet.engine.application.RangeFilter
- All Implemented Interfaces:
Uniform
Filter that is in charge to check the responses to requests for partial
content.
- Author:
- Thierry Boileau
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidafterHandle(Request request, Response response) Allows filtering after processing by the next Restlet.Returns the Range service of the parent application.Methods inherited from class org.restlet.routing.Filter
beforeHandle, doHandle, getNext, handle, hasNext, setNext, setNext, start, stopMethods inherited from class org.restlet.Restlet
createFinder, finalize, getApplication, getAuthor, getContext, getDescription, getFinderClass, getLogger, getName, getOwner, handle, handle, handle, isStarted, isStopped, setAuthor, setContext, setDescription, setFinderClass, setName, setOwner
-
Constructor Details
-
RangeFilter
Constructor.- Parameters:
context- The parent context.
-
-
Method Details
-
afterHandle
Description copied from class:FilterAllows filtering after processing by the next Restlet. Does nothing by default.- Overrides:
afterHandlein classFilter- Parameters:
request- The request to handle.response- The response to update.
-
getRangeService
Returns the Range service of the parent application.- Returns:
- The Range service of the parent application.
-