docs: @Override
      public void setContentType(String type) {
  
          if (LOG.isDebugEnabled()) {
              LOG.debug(Messages.get().getBundle().key(Messages.LOG_FLEXRESPONSE_SETTING_CONTENTTYPE_1, type));
          }
          // only if this is the "Top-Level" element, do set the content type
          // otherwise an included JSP could reset the type with some unwanted defaults
          if (!m_typeSet && m_isTopElement) {
              // type must be set only once, otherwise some Servlet containers (not Tomcat) generate errors
              m_typeSet = true;
              super.setContentType(type);
              return;
          }
      }