Package org.restlet.engine.application
Class RangeFilter
- java.lang.Object
-
- org.restlet.Restlet
-
- org.restlet.routing.Filter
-
- org.restlet.engine.application.RangeFilter
-
-
Constructor Summary
Constructors Constructor Description RangeFilter(Context context)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidafterHandle(Request request, Response response)Allows filtering after processing by the next Restlet.RangeServicegetRangeService()Returns the Range service of the parent application.-
Methods inherited from class org.restlet.routing.Filter
beforeHandle, doHandle, getNext, handle, hasNext, setNext, setNext, start, stop
-
Methods 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 Detail
-
RangeFilter
public RangeFilter(Context context)
Constructor.- Parameters:
context- The parent context.
-
-
Method Detail
-
afterHandle
protected void afterHandle(Request request, Response response)
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
public RangeService getRangeService()
Returns the Range service of the parent application.- Returns:
- The Range service of the parent application.
-
-