 in java.lang">String</a>&nbsp;urlPatternSpec,
                             <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;HTTPMethods)</pre>
<div class="block">Creates a new WebResourcePermission with name corresponding to the URLPatternSpec, and actions composed from the
 array of HTTP methods.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>urlPatternSpec</code> - the URLPattern