use of com.szmirren.vxApi.core.handler.route.VxApiRouteHandlerHttpService in project VX-API-Gateway by EliMirren.
the class VxApiApplication method serverHttpTypeHandler.
/**
* HTTP/HTTPS服务类型处理器
*
* @param isNext
* @param api
* @param route
* @throws NullPointerException
* @throws MalformedURLException
*/
public void serverHttpTypeHandler(boolean isNext, VxApis api, Route route) throws NullPointerException, MalformedURLException {
VxApiRouteHandlerHttpService httpTypeHandler = VxApiRouteHandlerHttpService.create(appName, isNext, api, httpClient);
route.handler(httpTypeHandler);
}
Aggregations