<BUG>}public void writePayload(InputStream message) {</BUG><CONTEXT>return this;}MessageFramer setMessageCompression(boolean enable) {messageCompression = enable;return this;<extra_id_0>verifyNotClosed();boolean compressed = messageCompression && compressor != Codec.Identity.NONE;int written = -1;</CONTEXT>
void setMaxOutboundMessageSize(int maxSize) {checkState(maxOutboundMessageSize == NO_MAX_OUTBOUND_MESSAGE_SIZE, "max size already set");maxOutboundMessageSize = maxSize;public void writePayload(InputStream message) {