Use of Thread.currentThread().join() in Java
问题 The following code is taken from an example in the Jersey project. See here. public class App { private static final URI BASE_URI = URI.create("http://localhost:8080/base/"); public static final String ROOT_PATH = "helloworld"; public static void main(String[] args) { try { System.out.println("\"Hello World\" Jersey Example App"); final ResourceConfig resourceConfig = new ResourceConfig(HelloWorldResource.class); final HttpServer server = GrizzlyHttpServerFactory.createHttpServer(BASE_URI,