code: public Object readObject() throws UnsupportedEncodingException {
      if (streamIndex < getBodyList().size())
        return getBodyList().get(streamIndex++);
      return JsJmsStreamMessage.END_OF_STREAM;
    }
docs: /*
  Return the next value from the payload Stream as an Object.
  <p>
  This method is used to return in objectified format any value
  that has been stored to the payload with any of the writeXxxx
  method calls. If a primitive was stored, the Object returned will be
  the corresponding object - e.g. an int will be returned as an Integer.
  
  Javadoc description supplied by JsJmsMessage interface.