class HttpProtocolServer implements ProtocolServer {

    @Override
    public URI getThingUrl(String id) {
        try {
            return new URI(actualAddresses.get(0)).resolve("/" + id);
        }
        catch (URISyntaxException e) {
            log.warn("Unable to thing url", e);
            return null;
        }
    }

    public  HttpProtocolServer(Config config);
    @SuppressWarnings({ "java:S107" })  HttpProtocolServer(String bindHost,
                       int bindPort,
                       List<String> addresses,
                       Service server,
                       Map<String, ExposedThing> things,
                       Map<String, Object> security,
                       String securityScheme,
                       boolean started,
                       int actualPort,
                       List<String> actualAddresses);

}