Interface HttpServerProbe

All Known Implementing Classes:
AccessLogProbe, HttpServerProbe.Adapter

public interface HttpServerProbe
Monitoring probe providing callbacks that may be invoked by Grizzly HttpServerFilter.
Since:
2.0
Author:
Alexey Stashok
  • Method Details

    • onRequestReceiveEvent

      void onRequestReceiveEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Request request)
      Method will be called, when new Request will come.
      Parameters:
      filter - HttpServerFilter, the event belongs to.
      connection - Connection, the event belongs to.
      request - received Request.
    • onRequestCompleteEvent

      void onRequestCompleteEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Response response)
      Method will be called, when Request processing will be completed.
      Parameters:
      filter - HttpServerFilter, the event belongs to.
      connection - Connection, the event belongs to.
      response - sent Response.
    • onRequestSuspendEvent

      void onRequestSuspendEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Request request)
      Method will be called, when Request processing is suspended.
      Parameters:
      filter - HttpServerFilter, the event belongs to.
      connection - Connection, the event belongs to.
      request - Request.
    • onRequestResumeEvent

      void onRequestResumeEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Request request)
      Method will be called, when Request processing is resumed.
      Parameters:
      filter - HttpServerFilter, the event belongs to.
      connection - Connection, the event belongs to.
      request - Request.
    • onRequestTimeoutEvent

      void onRequestTimeoutEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Request request)
      Method will be called, when Request processing is timeout after suspend.
      Parameters:
      filter - HttpServerFilter, the event belongs to.
      connection - Connection, the event belongs to.
      request - Request.
    • onRequestCancelEvent

      void onRequestCancelEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Request request)
      Method will be called, when Request processing is cancelled after suspend.
      Parameters:
      filter - HttpServerFilter, the event belongs to.
      connection - Connection, the event belongs to.
      request - Request.
    • onBeforeServiceEvent

      void onBeforeServiceEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Request request, HttpHandler httpHandler)
      Parameters:
      filter - HttpServerFilter, the event belongs to.
      connection - Connection, the event belongs to.
      request - received Request.
      httpHandler - HttpHandler to be invoked.