Class GetConfigForRequestEvent

All Implemented Interfaces:
Serializable

public class GetConfigForRequestEvent extends RequestContextAwareEvent
The GetConfigForRequestEvent event class.

This event is triggered when config copy is created to handle the current HTTP request. Config copy obtained by this event is used to configure the connector behavior for current HTTP request scope.

See Also:
  • Constructor Details

    • GetConfigForRequestEvent

      public GetConfigForRequestEvent(Object source, Config config, HttpServletRequest request, HttpServletResponse response)
      Constructs the event.
      Parameters:
      source - the object on which the event initially occurred
      config - configuration to use for current HTTP request
      request - current HTTP request
      response - current HTTP response
  • Method Details

    • getConfig

      public Config getConfig()
      Returns Config instance used to configure the connector behavior for current HTTP request scope.
      Returns:
      CKFinder configuration for current HTTP request