437/461

## glassfish:web:http-service:requestStartEvent

event

Synopsis

    glassfish:web:http-service:requestStartEvent(
        java.lang.String appName,
        java.lang.String hostName,
        java.lang.String serverName,
        int serverPort,
        java.lang.String contextPath,
        java.lang.String servletPath)

Description

This event is sent whenever an HTTP request has been received by the web container and is about to be dispatched to its target application.

Use this event to determine the number of hits per application.

Parameters

`appName`

  The name of the web application to which the HTTP request was mapped and that is about to process it.

`hostName`

  The name of the virtual server on which the application has been deployed.

`serverName`

  The server name of the HTTP request.

`serverPort`

  The server port of the HTTP request.

`contextPath`

  The context path portion of the URI of the HTTP request.

`servletPath`

  The servlet path portion of the URI of the HTTP request.