Module bus.http

Interface EventListener.Factory

Enclosing class:
EventListener

public static interface EventListener.Factory
  • Method Details

    • create

      EventListener create(NewCall call)
      Creates an instance of the EventListener for a specific NewCall. The returned EventListener instance will be used for the lifecycle of the call.

      This method is invoked after the call is created. See Httpd.newCall(Request). It is an error for implementations to issue any mutating operations on the call instance in this method.

      Parameters:
      call - The call information.
      Returns:
      The listener.