org.restlet.service
Class RangeService

java.lang.Object
  extended by org.restlet.service.Service
      extended by org.restlet.service.RangeService

public class RangeService
extends Service

Service automatically exposes ranges of response entities. This allows resources to not care of requested ranges and return full representations that will then be transparently wrapped in partial representations by this service, allowing the client to benefit from partial downloads.

Author:
Jerome Louvel

Constructor Summary
RangeService()
          Constructor.
RangeService(boolean enabled)
          Constructor.
 
Method Summary
 
Methods inherited from class org.restlet.service.Service
isEnabled, isStarted, isStopped, setEnabled, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RangeService

public RangeService()
Constructor.


RangeService

public RangeService(boolean enabled)
Constructor.

Parameters:
enabled - True if the service has been enabled.


Copyright © 2005-2008 Noelios Technologies.