class RESTApiModule implements ServerModule {

    @Override
    public void start()
    {
        URI restApiUri = restApiUri( );

        webServer.addFilter( new CollectUserAgentFilter( clientNames() ), "/*" );
        webServer.addFilter( new CorsFilter( logProvider, config.get( http_access_control_allow_origin ) ), "/*" );
        webServer.addJAXRSClasses( getClassNames(), restApiUri.toString(), null );
        loadPlugins();
    }

    public  RESTApiModule( WebServer webServer, Config config, Supplier<UsageData> userDataSupplier, LogProvider logProvider );

}