}
}
private static ServiceConfigurationError configError(final Throwable x) {
final ServiceConfigurationError error = new ServiceConfigurationError(x.getMessage());
error.initCause(x);
return error;
}
private static boolean loadProviderAsService() {
final ServiceLoader<HttpServerProvider> loader = ServiceLoader.load(HttpServerProvider.class, null);