X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=README.md;h=0da4736dce91d6d995946527e78ca04205ccee43;hb=cecd2f4528f1ef7e686a6dfd1e3bcd8580641048;hp=cd22ba5ccee796bf45f6344669a3547911460447;hpb=c9330664eeee1023733cc97fef730e602a2b8f29;p=aai%2Frest-client.git diff --git a/README.md b/README.md index cd22ba5..0da4736 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ Note, that all of the above configuration parameters are optional and will be se ### Querying The A&AI Once your service has a client instance, it can query the _Active & Available Inventory_ by specifying an HTTP endpoint, headers, and the expected response format: - MultivaluedMap headers = new MultivaluedMapImpl(); + MultivaluedMap headers = new MultivaluedHashMap<>(); headers.put("Accept", Arrays.asList(new String[]{"application/json"})); headers.put("X-FromAppId", Arrays.asList(new String[]{"APP-ID"})); headers.put("X-TransactionId", Arrays.asList(new String[]{UUID.randomUUID().toString()}));