Created
November 16, 2016 00:35
-
-
Save ljnelson/30aa7335fa900cec6f96225e44a808a6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.net.URI baseUri = javax.ws.rs.core.UriBuilder.fromUri("http://localhost/").port(9998).build(); | |
org.glassfish.jersey.server.ResourceConfig config = new org.glassfish.jersey.server.ResourceConfig(developer.HelloWorldResource.class); | |
org.glassfish.grizzly.http.server.HttpServer server = org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpServerFactory.createHttpServer(baseUri, config); | |
// and so on and so on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment