@Override
  protected void writeInternal(final Serializable serializableObject,
      final HttpOutputMessage outputMessage) throws IOException, HttpMessageNotWritableException {
    final byte[] messageBody = IOUtils.serializeObject(serializableObject);
    setContentLength(outputMessage, messageBody);
    StreamUtils.copy(messageBody, outputMessage.getBody());
  }
The SerializableObjectHttpMessageConverter class is a Spring HttpMessageConverter for converting
bytes streams to/from Serializable Objects.
<p>

@see java.io.Serializable
@see org.springframework.http.HttpInputMessage
@see org.springframework.http.HttpMessage
@see org.springframework.http.HttpOutputMessage
@see org.springframework.http.MediaType
@see org.springframework.http.converter.AbstractHttpMessageConverter
@since GemFire 8.0
geode-core/src/main/java/org/apache/geode/management/internal/web/http/converter/SerializableObjectHttpMessageConverter.java