src/main/java/jp/gr/java_conf/hhiroshell/cowweb/Main.java
private static Routing createRouting(Config config) {
        HealthSupport health = HealthSupport.builder()
                .add(HealthChecks.healthChecks())   // Adds a convenient set of checks
                .build();
        return Routing.builder()
//                .register(JsonSupport.create())
                .register(health)
                .register(MetricsSupport.create())
                .register("/cowsay", new CowsayService())
                .build();
    }
/**
     * Creates new {@link Routing}.
     *
     * @return routing configured with JSON support, a health check, and a service
     * @param config configuration of this server
     */
Creates new  Routing.
@return routing configured with JSON support, a health check, and a service
@param config configuration of this server
Creates new Routing . @return routing configured with JSON support a health check and a service @param config configuration of this server
private static Routing createRouting(Config config) {
        HealthSupport health = HealthSupport.builder()
                .add(HealthChecks.healthChecks())   
                .build();
        return Routing.builder()
                .register(health)
                .register(MetricsSupport.create())
                .register("/cowsay", new CowsayService())
                .build();
    }
private static Routing createRouting ( Config config ) { HealthSupport health = HealthSupport . builder ( ) . add ( HealthChecks . healthChecks ( ) ) . build ( ) ; return Routing . builder ( ) . register ( health ) . register ( MetricsSupport . create ( ) ) . register ( "/cowsay" , new CowsayService ( ) ) . build ( ) ; }
Creates new {@link Routing}.
Creates new { @link Routing } .
// Adds a convenient set of checks //                .register(JsonSupport.create())