@Override
    public void serviceAdded(ServiceConfig cfg) throws Exception {
        super.serviceAdded(cfg);
        function.serviceAdded(cfg);
    }
Creates a new instance with the specified function.
core/src/main/java/com/linecorp/armeria/server/FunctionalDecoratingHttpService.java