public static class HttpServerProbe.Adapter extends Object implements HttpServerProbe
HttpServerProbe adapter that provides no-op implementations for
all interface methods allowing easy extension by the developer.HttpServerProbe.Adapter| Constructor and Description |
|---|
Adapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
onBeforeServiceEvent(HttpServerFilter filter,
org.glassfish.grizzly.Connection connection,
Request request,
HttpHandler httpHandler)
Method will be called, before invoking
HttpHandler.service(org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.http.server.Response). |
void |
onRequestCancelEvent(HttpServerFilter filter,
org.glassfish.grizzly.Connection connection,
Request request)
Method will be called, when
Request processing is cancelled
after suspend. |
void |
onRequestCompleteEvent(HttpServerFilter filter,
org.glassfish.grizzly.Connection connection,
Response response)
Method will be called, when
Request processing will be completed. |
void |
onRequestReceiveEvent(HttpServerFilter filter,
org.glassfish.grizzly.Connection connection,
Request request)
Method will be called, when new
Request will come. |
void |
onRequestResumeEvent(HttpServerFilter filter,
org.glassfish.grizzly.Connection connection,
Request request)
Method will be called, when
Request processing is resumed. |
void |
onRequestSuspendEvent(HttpServerFilter filter,
org.glassfish.grizzly.Connection connection,
Request request)
Method will be called, when
Request processing is suspended. |
void |
onRequestTimeoutEvent(HttpServerFilter filter,
org.glassfish.grizzly.Connection connection,
Request request)
Method will be called, when
Request processing is timeout
after suspend. |
public void onRequestReceiveEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Request request)
Request will come.onRequestReceiveEvent in interface HttpServerProbefilter - HttpServerFilter, the event belongs to.connection - Connection, the event belongs to.request - received Request.public void onRequestCompleteEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Response response)
Request processing will be completed.onRequestCompleteEvent in interface HttpServerProbefilter - HttpServerFilter, the event belongs to.connection - Connection, the event belongs to.response - sent Response.public void onRequestSuspendEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Request request)
Request processing is suspended.onRequestSuspendEvent in interface HttpServerProbefilter - HttpServerFilter, the event belongs to.connection - Connection, the event belongs to.request - Request.public void onRequestResumeEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Request request)
Request processing is resumed.onRequestResumeEvent in interface HttpServerProbefilter - HttpServerFilter, the event belongs to.connection - Connection, the event belongs to.request - Request.public void onRequestTimeoutEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Request request)
Request processing is timeout
after suspend.onRequestTimeoutEvent in interface HttpServerProbefilter - HttpServerFilter, the event belongs to.connection - Connection, the event belongs to.request - Request.public void onRequestCancelEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Request request)
HttpServerProbeRequest processing is cancelled
after suspend.onRequestCancelEvent in interface HttpServerProbefilter - HttpServerFilter, the event belongs to.connection - Connection, the event belongs to.request - Request.public void onBeforeServiceEvent(HttpServerFilter filter, org.glassfish.grizzly.Connection connection, Request request, HttpHandler httpHandler)
HttpHandler.service(org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.http.server.Response).onBeforeServiceEvent in interface HttpServerProbefilter - HttpServerFilter, the event belongs to.connection - Connection, the event belongs to.request - received Request.httpHandler - HttpHandler to be invoked.Copyright © 2017–2019 Oracle Corporation. All rights reserved.