public String getMessage() {
        return formatOutputMessageInternal(this.message);
    }
Encodes the message in UTF-8 format in preparation to send.

@param message Message to format and encode
@return The encoded message.
api/cas-server-core-api-web/src/main/java/org/apereo/cas/web/HttpMessage.java