Search in sources :

Example 1 with VxApiRouteHandlerHttpService

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);
}
Also used : VxApiRouteHandlerHttpService(com.szmirren.vxApi.core.handler.route.VxApiRouteHandlerHttpService)

Aggregations

VxApiRouteHandlerHttpService (com.szmirren.vxApi.core.handler.route.VxApiRouteHandlerHttpService)1