Class DecoderService

java.lang.Object
org.restlet.service.Service
org.restlet.service.DecoderService

public class DecoderService extends Service
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.
Author:
Jerome Louvel
  • Constructor Details

    • DecoderService

      public DecoderService()
      Constructor.
    • DecoderService

      public DecoderService(boolean enabled)
      Constructor.
      Parameters:
      enabled - True if the service has been enabled.
  • Method Details

    • createInboundFilter

      public Filter createInboundFilter(Context context)
      Description copied from class: Service
      Create the filter that should be invoked for incoming calls.
      Overrides:
      createInboundFilter in class Service
      Parameters:
      context - The current context.
      Returns:
      The new filter or null.
    • createOutboundFilter

      public Filter createOutboundFilter(Context context)
      Description copied from class: Service
      Create the filter that should be invoked for outgoing calls.
      Overrides:
      createOutboundFilter in class Service
      Parameters:
      context - The current context.
      Returns:
      The new filter or null.
      See Also: