public interface IDaemonHandler extends IDaemon
ADaemonHandler| Modifier and Type | Interface and Description |
|---|---|
static interface |
IDaemonHandler.IContext |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRequestHook()
After every request this method is called.
|
void |
beforeRequestHook()
For every request this method is called.
|
void |
exceptionHook(RuntimeException exception)
If a RuntimeException occurs during the request you have the chance to handle it here.
|
IDaemonHandler.IContext |
getContext() |
IDaemonHandler.IContext getContext()
void exceptionHook(RuntimeException exception) throws DaemonError
exception - RuntimeExceptionDaemonError - DaemonErrorvoid beforeRequestHook()
void afterRequestHook()
Copyright © 2016 Taimos GmbH. All rights reserved.