@Override
    public void setBodyAsText(String bodyText) {
        disposeBufferedBody();
        if (!Strings.isNullOrEmpty(bodyText)) {
            byte[] bytes = bodyText.getBytes(Charsets.UTF_8);
            bufferBodyContents(new DefaultLastHttpContent(Unpooled.wrappedBuffer(bytes)));
            setContentLength(bytes.length);
        } else {
            bufferBodyContents(new DefaultLastHttpContent());
            setContentLength(0);
        }
    }
User: michaels@netflix.com
Date: 2/20/15
Time: 3:10 PM
zuul-core/src/main/java/com/netflix/zuul/message/ZuulMessageImpl.java