use of org.webpieces.router.impl.services.RouteData in project webpieces by deanhiller.
the class FContentRouter method invoke.
@Override
public RouterStreamRef invoke(RequestContext ctx, ProxyStreamHandle handler) {
RouteData data = new RouteInfoForContent(bodyContentBinder);
String i18nBundleName = moduleInfo.getI18nBundleName();
InvokeInfo invokeInfo = new InvokeInfo(ctx, handler, RouteType.CONTENT, loadedController, i18nBundleName);
return routeInvoker.invokeContentController(invokeInfo, dynamicInfo, data);
}
use of org.webpieces.router.impl.services.RouteData in project webpieces by deanhiller.
the class FStreamingRouter method invoke.
@Override
public RouterStreamRef invoke(RequestContext ctx, ProxyStreamHandle handler) {
RouteData data = new RouteInfoForStream();
InvokeInfo invokeInfo = new InvokeInfo(ctx, handler, RouteType.STREAMING, loadedController, i18nBundleName);
return routeInvoker.invokeStreamingController(invokeInfo, dynamicInfo, data);
}
use of org.webpieces.router.impl.services.RouteData in project webpieces by deanhiller.
the class FHtmlRouter method invoke.
@Override
public RouterStreamRef invoke(RequestContext ctx, ProxyStreamHandle handler) {
RouteData data = new RouteInfoForHtml(isCheckSecureToken, matchInfo.getHttpMethod());
InvokeInfo invokeInfo = new InvokeInfo(ctx, handler, RouteType.HTML, loadedController, i18nBundleName);
return invoker.invokeHtmlController(invokeInfo, dynamicInfo, data);
}
Aggregations