public class DefaultMethodHandler extends MethodHandler
Default handler for OData actions and functions.
Any entity operations that are not overridden will delegate to DefaultMethodHandler.dataService.
| Constructor and Description |
|---|
DefaultMethodHandler(DataServlet servlet,
DataService service)
Construct a new default method handler.
|
| Modifier and Type | Method and Description |
|---|---|
DataValue |
executeMethod(DataMethod method,
ParameterList parameters)
Handles the invocation of an action or function.
|
DataService |
getDataService()
Return data service, to which non-overridden entity operations will be delegated.
|
DataServlet |
getDataServlet()
Return data servlet, which receives and processes entity requests from the client.
|
allowUnusedpublic DefaultMethodHandler(DataServlet servlet, DataService service)
Construct a new default method handler.
servlet - Data servlet, which receives and processes method requests from the client.service - Data service, to which non-overridden method invocations will be delegated.public DataValue executeMethod(DataMethod method, ParameterList parameters)
Handles the invocation of an action or function.
executeMethod in class MethodHandlermethod - Data method.parameters - Method parameters.public DataService getDataService()
Return data service, to which non-overridden entity operations will be delegated.
public DataServlet getDataServlet()
Return data servlet, which receives and processes entity requests from the client.