bodyWriteOnly = in.readBoolean();
   public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException   {      super.readExternal(in);      bodyWriteOnly = in.readBoolean();      int length = in.readInt();      if (length < 0)      {         payload = null;      }      else      {         payload = new byte[length];         in.readFully((byte[])payload);      }   }