Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. clientConfig.register(JacksonFeature.class);
  2. //Create new rest client
  3. client = ClientBuilder.newClient( clientConfig );
  4. //Set the url
  5. webTarget = client.target(nexusBaseUrl);
  6. invocationBuilder = webTarget.request(MediaType.APPLICATION_JSON);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement