Class ProxyEvents

java.lang.Object
org.omegazero.proxy.core.ProxyEvents

public final class ProxyEvents extends Object
  • Field Details

    • PREINIT

      public static final org.omegazero.common.eventbus.Event PREINIT
    • INIT

      public static final org.omegazero.common.eventbus.Event INIT
    • POSTINIT

      public static final org.omegazero.common.eventbus.Event POSTINIT
    • SHUTDOWN

      public static final org.omegazero.common.eventbus.Event SHUTDOWN
    • DOWNSTREAM_CONNECTION

      public static final org.omegazero.common.eventbus.Event DOWNSTREAM_CONNECTION
    • DOWNSTREAM_CONNECTION_CLOSED

      public static final org.omegazero.common.eventbus.Event DOWNSTREAM_CONNECTION_CLOSED
    • INVALID_HTTP_REQUEST

      public static final org.omegazero.common.eventbus.Event INVALID_HTTP_REQUEST
    • INVALID_UPSTREAM_SERVER

      public static final org.omegazero.common.eventbus.Event INVALID_UPSTREAM_SERVER
    • INVALID_HTTP_RESPONSE

      public static final org.omegazero.common.eventbus.Event INVALID_HTTP_RESPONSE
    • HTTP_REQUEST_PRE_LOG

      public static final org.omegazero.common.eventbus.Event HTTP_REQUEST_PRE_LOG
    • HTTP_REQUEST_SELECT_SERVER

      public static final org.omegazero.common.eventbus.Event HTTP_REQUEST_SELECT_SERVER
    • HTTP_REQUEST_PRE

      public static final org.omegazero.common.eventbus.Event HTTP_REQUEST_PRE
    • HTTP_REQUEST

      public static final org.omegazero.common.eventbus.Event HTTP_REQUEST
    • HTTP_REQUEST_DATA

      public static final org.omegazero.common.eventbus.Event HTTP_REQUEST_DATA
    • HTTP_REQUEST_TRAILERS

      public static final org.omegazero.common.eventbus.Event HTTP_REQUEST_TRAILERS
    • HTTP_REQUEST_ENDED

      public static final org.omegazero.common.eventbus.Event HTTP_REQUEST_ENDED
    • HTTP_REQUEST_TIMEOUT

      public static final org.omegazero.common.eventbus.Event HTTP_REQUEST_TIMEOUT
    • HTTP_RESPONSE

      public static final org.omegazero.common.eventbus.Event HTTP_RESPONSE
    • HTTP_RESPONSE_LOCAL

      public static final org.omegazero.common.eventbus.Event HTTP_RESPONSE_LOCAL
    • HTTP_RESPONSE_DATA

      public static final org.omegazero.common.eventbus.Event HTTP_RESPONSE_DATA
    • HTTP_RESPONSE_TRAILERS

      public static final org.omegazero.common.eventbus.Event HTTP_RESPONSE_TRAILERS
    • HTTP_RESPONSE_ENDED

      public static final org.omegazero.common.eventbus.Event HTTP_RESPONSE_ENDED
    • HTTP_FORWARD_FAILED

      public static final org.omegazero.common.eventbus.Event HTTP_FORWARD_FAILED
    • HTTP_RESPONSE_TIMEOUT

      public static final org.omegazero.common.eventbus.Event HTTP_RESPONSE_TIMEOUT
    • UPSTREAM_CONNECTION

      public static final org.omegazero.common.eventbus.Event UPSTREAM_CONNECTION
    • UPSTREAM_CONNECTION_CLOSED

      public static final org.omegazero.common.eventbus.Event UPSTREAM_CONNECTION_CLOSED
    • UPSTREAM_CONNECTION_ERROR

      public static final org.omegazero.common.eventbus.Event UPSTREAM_CONNECTION_ERROR
    • UPSTREAM_CONNECTION_TIMEOUT

      public static final org.omegazero.common.eventbus.Event UPSTREAM_CONNECTION_TIMEOUT
    • PROTOCOL_SWITCHED

      public static final org.omegazero.common.eventbus.Event PROTOCOL_SWITCHED
    • MISSING_TLS_DATA

      public static final org.omegazero.common.eventbus.Event MISSING_TLS_DATA
  • Constructor Details

    • ProxyEvents

      public ProxyEvents()
  • Method Details

    • runEvent

      public static int runEvent(org.omegazero.common.eventbus.EventBus eventBus, org.omegazero.common.eventbus.Event event, Object... args)
    • runEventRes

      public static org.omegazero.common.eventbus.EventResult runEventRes(org.omegazero.common.eventbus.EventBus eventBus, org.omegazero.common.eventbus.Event event, Object... args)
    • isValidEventName

      public static boolean isValidEventName(String name)
      Checks whether an event with the given name is defined in this class.
      Parameters:
      name - The name
      Returns:
      true if the given event name is valid
      Since:
      3.7.2