CodeQL library for Java
Search

Predicate isServletRequestMethod

Holds if m is a request handler method (for example doGet or doPost).

Import path

import semmle.code.java.frameworks.Servlets
predicate isServletRequestMethod(Method m)