tps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;method)</pre>
<div class="block">Set the request method.
 <p>
 Note that the method is usable only in pre-matching filters, prior to the resource
 matching occurs. Trying to invoke the method in a filter bound to a resource method
 results in an <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interfac