Created
June 8, 2017 13:10
-
-
Save vyo/3479e786bb5f7c8336fd3da8ed49e374 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
@Override | |
protected Application configure() { | |
setup(); | |
ResourceConfig resourceConfig = new ResourceConfig(EchoController.class); | |
resourceConfig.register(new AbstractBinder() { | |
protected void configure() { | |
bind(echoController).to(EchoController.class); | |
} | |
}); | |
return resourceConfig; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment