use of com.szmirren.vxApi.core.handler.route.VxApiRouteHandlerRedirectType in project VX-API-Gateway by EliMirren.
the class VxApiApplication method serverRedirectTypeHandler.
/**
* 页面跳转服务类型处理器
*
* @param isNext
* @param api
* @param route
* @throws NullPointerException
*/
public void serverRedirectTypeHandler(boolean isNext, VxApis api, Route route) throws NullPointerException {
VxApiRouteHandlerRedirectType redirectTypehandler = VxApiRouteHandlerRedirectType.create(isNext, api);
route.handler(redirectTypehandler);
}
Aggregations