title: Access Undertow static content folder path programatically
body: <p>I've mapped a static content handler on my Undertow subsystem. However, my app will be deployed independently on different servers, and as such, the physical paths that will be used for static content may differ. Is there a way to obtain programatically (on runtime) any Undertow property, to obtain the path? Basically, I have this:</p>
  
  <pre><code>&lt;subsystem xmlns="urn:jboss:domain:undertow:3.0"&gt;
      &lt;buffer-cache name="default"/&gt;
      &lt;server name="default-server"&gt;
          &lt;http-listener name="default" redirect-socket="https" socket-binding="http"/&gt;
          &lt;host name="default-host" alias="localhost"&gt;
              &lt;location name="/" handler="welcome-content"/&gt;
              &lt;location name="/static" handler="MyStaticHandler"/&gt;
              &lt;filter-ref name="server-header"/&gt;
              &lt;filter-ref name="x-powered-by-header"/&gt;
          &lt;/host&gt;
      &lt;/server&gt;
      &lt;servlet-container name="default"&gt;
          &lt;jsp-config/&gt;
          &lt;websockets/&gt;
      &lt;/servlet-container&gt;
      &lt;handlers&gt;
          &lt;file name="welcome-content" path="${jboss.home.dir}/welcome-content"/&gt;
          &lt;file name="MyStaticHandler" follow-symlink="true" directory-listing="true" cache-buffers="1024" cache-buffer-size="1024" path="/var/wildfly/static"/&gt;
      &lt;/handlers&gt;
      &lt;filters&gt;
          &lt;response-header name="server-header" header-value="WildFly/10" header-name="Server"/&gt;
          &lt;response-header name="x-powered-by-header" header-value="Undertow/1" header-name="X-Powered-By"/&gt;
      &lt;/filters&gt;
  &lt;/subsystem&gt;
  </code></pre>
  
  <p>I want to be able to get "/var/wildfly/static" on runtime. Is this doable?</p>