Skip to content

Instantly share code, notes, and snippets.

@vyo
Created June 8, 2017 13:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vyo/3479e786bb5f7c8336fd3da8ed49e374 to your computer and use it in GitHub Desktop.
Save vyo/3479e786bb5f7c8336fd3da8ed49e374 to your computer and use it in GitHub Desktop.
@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