X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aai%2Frest-client.git;a=blobdiff_plain;f=README.md;h=0da4736dce91d6d995946527e78ca04205ccee43;hp=cd22ba5ccee796bf45f6344669a3547911460447;hb=c782aa5250b32e8aa3c7ecd088f47fd87334a8ef;hpb=ef858ed661134e651082675c091db056f8add98d 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()}));