@Nonnull
        public String getDeliverable() {
            if (text == null) {
                final StringBuilder builder = new StringBuilder();
                if (packets != null) {
                    for (final String packet : packets) {
                        builder.append(packet);
                    }
                }
                return builder.toString();
            }
            else {
                return text;
            }
        }
Representation of data to be delivered to a client.
xmppserver/src/main/java/org/jivesoftware/openfire/http/HttpSession.java