code: public ResourceHandler getResourceHandler()
      {
          Application application = getMyfacesApplicationInstance();
          if (application != null)
          {
              return application.getResourceHandler();
          }
          throw new UnsupportedOperationException();
      }
docs: <p>
  Return the singleton, stateless, thread-safe <code>{@link ResourceHandler}</code> for this application. The JSF
  implementation must support the following techniques for declaring an alternate implementation of <code>
  ResourceHandler</code>.
  </p>
  
  <ul>
  <li>The <code>ResourceHandler</code> implementation is declared in the application configuration resources by
  giving the fully qualified class name as the value of the <code>&lt;resource-handler&gt;</code> element
  within the
  <code>application</code> element.</li>
  <li>RELEASE_PENDING(edburns) It can also be declared via an annotation as
  specified in [287-ConfigAnnotations].</li>
  </ul>
  
  <p>
  In all of the above cases, the runtime must employ the decorator pattern as for every other pluggable artifact in
  JSF.
  </p>
  
  @since 2.0