Skip to content

Instantly share code, notes, and snippets.

@leapingfrogs
Created May 30, 2012 22:18
Show Gist options
  • Save leapingfrogs/2839289 to your computer and use it in GitHub Desktop.
Save leapingfrogs/2839289 to your computer and use it in GitHub Desktop.
// final Client jerseyClient = Client.create();
JerseyClient jerseyClient = new JerseyClientFactory(new JerseyClientConfiguration()).build(new Environment(new Configuration(), new AbstractService<Configuration>("Blah") {
@Override
protected void subclassServiceInsteadOfThis() {
}
@Override
protected void initialize(Configuration configuration, Environment environment) throws Exception {
}
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment