CodeQL library for Java/Kotlin
codeql/java-all 0.8.9 (changelog, source)
Search

Predicate getContentTypeString

Gets a constant content-type described by expression e (either a string constant or a Jax-RS MediaType field access).

Import path

import semmle.code.java.frameworks.JaxWS
string getContentTypeString(Expr e)