use of com.tvd12.ezyfoxserver.request.EzyRequestPluginParams in project ezyfox-server by youngmonkeys.
the class EzyRequestPluginController method handle.
@Override
public void handle(EzyServerContext ctx, EzyRequestPluginRequest request) {
EzyRequestPluginParams params = request.getParams();
EzyUser user = request.getUser();
EzyZoneContext zoneCtx = ctx.getZoneContext(user.getZoneId());
EzyPluginContext pluginCtx = getPluginContext(zoneCtx, params);
EzyPlugin plugin = pluginCtx.getPlugin();
EzyPluginRequestController requestController = plugin.getRequestController();
EzyUserRequestPluginEvent event = newRequestPluginEvent(request);
requestController.handle(pluginCtx, event);
}
Aggregations