RestconfDocumentedExceptionMapper not returning json 83/72583/1
authorTom Pantelis <tompantelis@gmail.com>
Fri, 1 Jun 2018 20:16:47 +0000 (16:16 -0400)
committerTom Pantelis <tompantelis@gmail.com>
Fri, 1 Jun 2018 20:16:47 +0000 (16:16 -0400)
commit483c08d628b9c9e463155eb6f259d539fba63d64
treecf7791e9436db06621ccaccd7987766124909748
parent0c7d4c0fabefe132a74fa66fa5b9ec7655a41d2c
RestconfDocumentedExceptionMapper not returning json

The media types returned from HttpHeaders returns wildcard type "/"
which we were incorrectly filtering out. So it was defaulting to
xml instead of json.

Change-Id: I2f64840ca4bbc48651c2a8bbe72fdbbc666024a2
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/rest/impl/RestconfDocumentedExceptionMapper.java