va/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;method)</span></div>
<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/en/java/javase/11/docs/api/java.base/java/lang/IllegalStateException.html" title="class or int