Top Description Constructors Methods
org.glassfish.grizzly.http.server

pack-priv final Class HttpServerProbeNotifier

extends Object
Class Inheritance
Imports
org.glassfish.grizzly.Connection

Utility class, which has notification methods for different HttpServerProbe events.
Author
Alexey Stashok

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static void
notifyBeforeService(final HttpServerFilter
HttpServerFilter, the event belongs to.
filter
,
final Connection<L>
Connection, the event belongs to.
connection
,
final Request request, final HttpHandler httpHandler)

Notify registered HttpServerProbes before invoking HttpHandler#service(org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.http.server.Response).

pack-priv static void
notifyRequestCancel(final HttpServerFilter
HttpServerFilter, the event belongs to.
filter
,
final Connection<L>
Connection, the event belongs to.
connection
,
final Request request)

Notify registered HttpServerProbes about the "request canceled after suspend" event.

pack-priv static void
notifyRequestComplete(final HttpServerFilter
HttpServerFilter, the event belongs to.
filter
,
final Connection<L>
Connection, the event belongs to.
connection
,
final Response response)

Notify registered HttpServerProbes about the "request completed" event.

pack-priv static void
notifyRequestReceive(final HttpServerFilter
HttpServerFilter, the event belongs to.
filter
,
final Connection<L>
Connection, the event belongs to.
connection
,
final Request
received Request.
request
)

Notify registered HttpServerProbes about the "request received" event.

pack-priv static void
notifyRequestResume(final HttpServerFilter
HttpServerFilter, the event belongs to.
filter
,
final Connection<L>
Connection, the event belongs to.
connection
,
final Request request)

Notify registered HttpServerProbes about the "request resumed" event.

pack-priv static void
notifyRequestSuspend(final HttpServerFilter
HttpServerFilter, the event belongs to.
filter
,
final Connection<L>
Connection, the event belongs to.
connection
,
final Request request)

Notify registered HttpServerProbes about the "request suspended" event.

pack-priv static void
notifyRequestTimeout(final HttpServerFilter
HttpServerFilter, the event belongs to.
filter
,
final Connection<L>
Connection, the event belongs to.
connection
,
final Request request)

Notify registered HttpServerProbes about the "request timeout after suspend" event.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

HttpServerProbeNotifierback to summary
pack-priv HttpServerProbeNotifier()

Method Detail

notifyBeforeServiceback to summary
pack-priv static void notifyBeforeService(final HttpServerFilter filter, final Connection<L> connection, final Request request, final HttpHandler httpHandler)

Notify registered HttpServerProbes before invoking HttpHandler#service(org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.http.server.Response).

Parameters
filter:HttpServerFilter

HttpServerFilter, the event belongs to.

connection:Connection<L>

Connection, the event belongs to.

httpHandler:HttpHandler

HttpHandler.

notifyRequestCancelback to summary
pack-priv static void notifyRequestCancel(final HttpServerFilter filter, final Connection<L> connection, final Request request)

Notify registered HttpServerProbes about the "request canceled after suspend" event.

Parameters
filter:HttpServerFilter

HttpServerFilter, the event belongs to.

connection:Connection<L>

Connection, the event belongs to.

request:Request

Request.

notifyRequestCompleteback to summary
pack-priv static void notifyRequestComplete(final HttpServerFilter filter, final Connection<L> connection, final Response response)

Notify registered HttpServerProbes about the "request completed" event.

Parameters
filter:HttpServerFilter

HttpServerFilter, the event belongs to.

connection:Connection<L>

Connection, the event belongs to.

response:Response

Response.

notifyRequestReceiveback to summary
pack-priv static void notifyRequestReceive(final HttpServerFilter filter, final Connection<L> connection, final Request request)

Notify registered HttpServerProbes about the "request received" event.

Parameters
filter:HttpServerFilter

HttpServerFilter, the event belongs to.

connection:Connection<L>

Connection, the event belongs to.

request:Request

received Request.

notifyRequestResumeback to summary
pack-priv static void notifyRequestResume(final HttpServerFilter filter, final Connection<L> connection, final Request request)

Notify registered HttpServerProbes about the "request resumed" event.

Parameters
filter:HttpServerFilter

HttpServerFilter, the event belongs to.

connection:Connection<L>

Connection, the event belongs to.

request:Request

Request.

notifyRequestSuspendback to summary
pack-priv static void notifyRequestSuspend(final HttpServerFilter filter, final Connection<L> connection, final Request request)

Notify registered HttpServerProbes about the "request suspended" event.

Parameters
filter:HttpServerFilter

HttpServerFilter, the event belongs to.

connection:Connection<L>

Connection, the event belongs to.

request:Request

Request.

notifyRequestTimeoutback to summary
pack-priv static void notifyRequestTimeout(final HttpServerFilter filter, final Connection<L> connection, final Request request)

Notify registered HttpServerProbes about the "request timeout after suspend" event.

Parameters
filter:HttpServerFilter

HttpServerFilter, the event belongs to.

connection:Connection<L>

Connection, the event belongs to.

request:Request

Request.