nterface in java.lang" class="externalLink">IllegalArgumentException</a></code> - if the given class does not implement <a href="ServletRequest.html" title="interface in jakarta.servlet"><code>ServletRequest</code></a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>Servlet 3.0</dd>
</dl>
</li>
</ul>
<a id="getDispatcherType()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDispatcherType</h4>
<pre class="methodSignature">public&nbsp;<a href="DispatcherType.html" title="e