org.restlet.service
Class DecoderService

java.lang.Object
  extended by org.restlet.service.DecoderService

public class DecoderService
extends Object

Service automatically decoding or decompressing request entities.

Author:
Jerome Louvel (contact@noelios.com)

Constructor Summary
DecoderService(boolean enabled)
          Constructor.
 
Method Summary
 boolean isEnabled()
          Indicates if the service should be enabled.
 void setEnabled(boolean enabled)
          Indicates if the service should be enabled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecoderService

public DecoderService(boolean enabled)
Constructor.

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

isEnabled

public boolean isEnabled()
Indicates if the service should be enabled.

Returns:
True if the service should be enabled.

setEnabled

public void setEnabled(boolean enabled)
Indicates if the service should be enabled.

Parameters:
enabled - True if the service should be enabled.


Copyright © 2005-2007 Noelios Consulting.