public String getBodyAsString() throws CharacterCodingException {
        CharsetDecoder decoder = charset().newDecoder();
        return decoder.decode(ByteBuffer.wrap(body)).toString();
    }
Attempts to decode the buffer returned by {@link #getBody()} as a String in a best-effort manner. This is done
using the Content-Type header - and defaults to UTF-8 encoding if the header is unparseable or not found.
Note that this may very well throw a {@link CharacterCodingException}.

@return a String with the decoded contents of the body buffer
@throws CharacterCodingException if the body buffer was not well-formed
application/src/main/java/com/yahoo/application/container/handler/Response.java