public interface HttpServerProbe
HttpServerFilter
.Modifier and Type | Interface and Description |
---|---|
static class |
HttpServerProbe.Adapter
HttpServerProbe adapter that provides no-op implementations for
all interface methods allowing easy extension by the developer. |
Modifier and Type | Method and Description |
---|---|
void |
onBeforeServiceEvent(HttpServerFilter filter,
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,
Connection connection,
Request request)
Method will be called, when
Request processing is cancelled
after suspend. |
void |
onRequestCompleteEvent(HttpServerFilter filter,
Connection connection,
Response response)
Method will be called, when
Request processing will be completed. |
void |
onRequestReceiveEvent(HttpServerFilter filter,
Connection connection,
Request request)
Method will be called, when new
Request will come. |
void |
onRequestResumeEvent(HttpServerFilter filter,
Connection connection,
Request request)
Method will be called, when
Request processing is resumed. |
void |
onRequestSuspendEvent(HttpServerFilter filter,
Connection connection,
Request request)
Method will be called, when
Request processing is suspended. |
void |
onRequestTimeoutEvent(HttpServerFilter filter,
Connection connection,
Request request)
Method will be called, when
Request processing is timeout
after suspend. |
void onRequestReceiveEvent(HttpServerFilter filter, Connection connection, Request request)
Request
will come.filter
- HttpServerFilter
, the event belongs to.connection
- Connection
, the event belongs to.request
- received Request
.void onRequestCompleteEvent(HttpServerFilter filter, Connection connection, Response response)
Request
processing will be completed.filter
- HttpServerFilter
, the event belongs to.connection
- Connection
, the event belongs to.response
- sent Response
.void onRequestSuspendEvent(HttpServerFilter filter, Connection connection, Request request)
Request
processing is suspended.filter
- HttpServerFilter
, the event belongs to.connection
- Connection
, the event belongs to.request
- Request
.void onRequestResumeEvent(HttpServerFilter filter, Connection connection, Request request)
Request
processing is resumed.filter
- HttpServerFilter
, the event belongs to.connection
- Connection
, the event belongs to.request
- Request
.void onRequestTimeoutEvent(HttpServerFilter filter, Connection connection, Request request)
Request
processing is timeout
after suspend.filter
- HttpServerFilter
, the event belongs to.connection
- Connection
, the event belongs to.request
- Request
.void onRequestCancelEvent(HttpServerFilter filter, Connection connection, Request request)
Request
processing is cancelled
after suspend.filter
- HttpServerFilter
, the event belongs to.connection
- Connection
, the event belongs to.request
- Request
.void onBeforeServiceEvent(HttpServerFilter filter, Connection connection, Request request, HttpHandler httpHandler)
HttpHandler.service(org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.http.server.Response)
.filter
- HttpServerFilter
, the event belongs to.connection
- Connection
, the event belongs to.request
- received Request
.httpHandler
- HttpHandler
to be invoked.Copyright © 2015 Oracle Corporation. All Rights Reserved.