Class ChildClientDispatcher

All Implemented Interfaces:
Uniform

public class ChildClientDispatcher extends TemplateDispatcher
Client dispatcher for a component child. Concurrency note: instances of this class or its subclasses can be invoked by several threads at the same time and therefore must be thread-safe. You should be especially careful when storing state as member variables.
Author:
Jerome Louvel
  • Constructor Details

    • ChildClientDispatcher

      public ChildClientDispatcher(ChildContext childContext)
      Constructor.
      Parameters:
      childContext - The child context.
  • Method Details

    • doHandle

      public int doHandle(Request request, Response response)
      Transmits the call to the parent component except if the call is internal as denoted by the Protocol.RIAP protocol and targets this child application.
      Overrides:
      doHandle in class Filter
      Parameters:
      request - The request to handle.
      response - The response to update.
      Returns:
      The continuation status. Either Filter.CONTINUE or Filter.STOP.