CodeQL library for Java
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)