|
||||||||||
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.DecoderService
public class DecoderService
Application service automatically decoding or uncompressing received entities. This service works both for received requests entities on the server-side and received response entities on the client-side.
Constructor Summary | |
---|---|
DecoderService()
Constructor. |
|
DecoderService(boolean enabled)
Constructor. |
Method Summary | |
---|---|
Filter |
createInboundFilter(Context context)
Create the filter that should be invoked for incoming calls. |
Filter |
createOutboundFilter(Context context)
Create the filter that should be invoked for outgoing calls. |
Methods inherited from class org.restlet.service.Service |
---|
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 DecoderService()
public DecoderService(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.
public Filter createOutboundFilter(Context context)
Service
createOutboundFilter
in class Service
context
- The current context.
Context.getClientDispatcher()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |