Created
January 24, 2015 08:49
-
-
Save javaeeeee/828ce9ea4a651cd3b578 to your computer and use it in GitHub Desktop.
Dropwizard: registering a resource
This file contains hidden or 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
| public void run(final DWGettingStartedConfiguration configuration, | |
| final Environment environment) { | |
| environment.jersey().register(new HelloResource()); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment