com.noelios.restlet.application
Class RangeFilter

java.lang.Object
  extended by org.restlet.Uniform
      extended by org.restlet.Restlet
          extended by org.restlet.Filter
              extended by com.noelios.restlet.application.RangeFilter

public class RangeFilter
extends Filter

Filter that is in charge to check the responses to requests for partial content.

Author:
Thierry Boileau

Field Summary
 
Fields inherited from class org.restlet.Filter
CONTINUE, SKIP, STOP
 
Constructor Summary
RangeFilter(Context context)
          Constructor.
 
Method Summary
protected  void afterHandle(Request request, Response response)
           
 RangeService getRangeService()
          Returns the Range service of the parent application.
 
Methods inherited from class org.restlet.Filter
beforeHandle, doHandle, getNext, handle, hasNext, setNext, setNext
 
Methods inherited from class org.restlet.Restlet
getApplication, getContext, getLogger, init, isStarted, isStopped, setContext, start, stop
 
Methods inherited from class org.restlet.Uniform
delete, delete, get, get, handle, head, head, options, options, post, post, put, put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RangeFilter

public RangeFilter(Context context)
Constructor.

Parameters:
context - The parent context.
Method Detail

afterHandle

protected void afterHandle(Request request,
                           Response response)
Overrides:
afterHandle in class Filter

getRangeService

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

Returns:
The Range service of the parent application.


Copyright © 2005-2008 Noelios Technologies.