public interface OServerPlugin extends OService
Modifier and Type | Method and Description |
---|---|
void |
config(OServer oServer,
OServerParameterConfiguration[] iParams)
Configures the handler.
|
Object |
getContent(String iURL) |
void |
onAfterClientRequest(OClientConnection iConnection,
byte iRequestType)
Callback invoked after a client request is processed.
|
void |
onBeforeClientRequest(OClientConnection iConnection,
byte iRequestType)
Callback invoked before a client request is processed.
|
void |
onClientConnection(OClientConnection iConnection)
Callback invoked when a client connection begins.
|
void |
onClientDisconnection(OClientConnection iConnection)
Callback invoked when a client connection ends.
|
void |
onClientError(OClientConnection iConnection,
Throwable iThrowable)
Callback invoked when a client connection has errors.
|
default void |
onSocketAccepted(ONetworkProtocol protocol) |
default void |
onSocketDestroyed(ONetworkProtocol protocol) |
void |
sendShutdown() |
void onClientConnection(OClientConnection iConnection)
void onClientDisconnection(OClientConnection iConnection)
void onBeforeClientRequest(OClientConnection iConnection, byte iRequestType)
void onAfterClientRequest(OClientConnection iConnection, byte iRequestType)
void onClientError(OClientConnection iConnection, Throwable iThrowable)
iThrowable
- Throwable instance receivedvoid config(OServer oServer, OServerParameterConfiguration[] iParams)
default void onSocketAccepted(ONetworkProtocol protocol)
default void onSocketDestroyed(ONetworkProtocol protocol)
void sendShutdown()
Copyright © 2009–2020 OrientDB. All rights reserved.