|
Restlet Framework 2.2.1 Java Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.service.Service
org.restlet.service.RangeService
public class RangeService
Application 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.
Constructor Summary | |
---|---|
RangeService()
Constructor. |
|
RangeService(boolean enabled)
Constructor. |
Method Summary | |
---|---|
Filter |
createInboundFilter(Context context)
Create the filter that should be invoked for incoming calls. |
Methods inherited from class org.restlet.service.Service |
---|
createOutboundFilter, getContext, isEnabled, isStarted, isStopped, setContext, setEnabled, start, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RangeService()
public RangeService(boolean enabled)
enabled
- True if the service has been enabled.Method Detail |
---|
public Filter createInboundFilter(Context context)
Service
createInboundFilter
in class Service
context
- The current context.
|
Restlet Framework 2.2.1 Java Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |