Search in sources :

Example 1 with RouteFilter

use of org.webpieces.router.api.routes.RouteFilter in project webpieces by deanhiller.

the class AbstractLoader method createServiceFromFiltersImpl.

protected Service<MethodMeta, Action> createServiceFromFiltersImpl(ServiceCreationInfo meta) {
    Injector injector = meta.getInjector();
    List<RouteFilter<?>> filters = createFilters(injector, meta.getFilterInfos());
    Service<MethodMeta, Action> svcWithFilters = loader.loadFilters(meta.getService(), filters);
    return svcWithFilters;
}
Also used : MethodMeta(org.webpieces.router.api.routes.MethodMeta) Action(org.webpieces.router.api.controller.actions.Action) Injector(com.google.inject.Injector) RouteFilter(org.webpieces.router.api.routes.RouteFilter)

Aggregations

Injector (com.google.inject.Injector)1 Action (org.webpieces.router.api.controller.actions.Action)1 MethodMeta (org.webpieces.router.api.routes.MethodMeta)1 RouteFilter (org.webpieces.router.api.routes.RouteFilter)1