|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.grizzly.http.KeepAliveProbe.Adapter
public static class KeepAliveProbe.Adapter
KeepAliveProbe adapter that provides no-op implementations for
all interface methods allowing easy extension by the developer.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.glassfish.grizzly.http.KeepAliveProbe |
|---|
KeepAliveProbe.Adapter |
| Constructor Summary | |
|---|---|
KeepAliveProbe.Adapter()
|
|
| Method Summary | |
|---|---|
void |
onConnectionAcceptEvent(Connection connection)
Method will be called, when new keep-alive HTTP connection is getting established. |
void |
onHitEvent(Connection connection,
int requestNumber)
Method will be called, when HTTP request comes on a kept alive connection. |
void |
onRefuseEvent(Connection connection)
Method will be called, when the Connection could be used in the keep alive mode, but due to KeepAlive config limitations it will be closed. |
void |
onTimeoutEvent(Connection connection)
Method will be called, when the keep alive Connection idle timeout expired. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KeepAliveProbe.Adapter()
| Method Detail |
|---|
public void onConnectionAcceptEvent(Connection connection)
onConnectionAcceptEvent in interface KeepAliveProbeconnection - Connection, the event belongs to.
public void onHitEvent(Connection connection,
int requestNumber)
onHitEvent in interface KeepAliveProbeconnection - Connection, the event belongs to.requestNumber - HTTP request number, being processed on the given keep-alive connection.public void onRefuseEvent(Connection connection)
onRefuseEvent in interface KeepAliveProbeconnection - Connection, the event belongs to.public void onTimeoutEvent(Connection connection)
onTimeoutEvent in interface KeepAliveProbeconnection - Connection, the event belongs to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||