We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a00934a commit 66ab593Copy full SHA for 66ab593
java/ql/src/semmle/code/java/frameworks/spring/SpringWebClient.qll
@@ -0,0 +1,17 @@
1
+import java
2
+import SpringHttp
3
+
4
+class SpringRestTemplate extends Class {
5
+ SpringRestTemplate() { hasQualifiedName("org.springframework.web.client", "RestTemplate") }
6
+}
7
8
+class SpringRestTemplateResponseEntityMethod extends Method {
9
+ SpringRestTemplateResponseEntityMethod() {
10
+ getDeclaringType() instanceof SpringRestTemplate and
11
+ getReturnType() instanceof SpringResponseEntity
12
+ }
13
14
15
+class SpringWebClient extends Interface {
16
+ SpringWebClient() { hasQualifiedName("org.springframework.web.reactive.function.client", "WebClient")}
17
0 commit comments