Skip to content

Commit a206642

Browse files
There is a javax.ws.rs.PATCH annotation for the PATCH HTTP method since JAX-RS 2.1 (#1766)
1 parent 125702d commit a206642

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ Even when matching on the main class name or on system properties,
6363
* Log correlation supports JBoss Logging - {pull}1737[#1737]
6464
* Update Byte-buddy to `1.11.0` - {pull}1769[#1769]
6565
* Support for user.domain {pull}1756[#1756]
66+
* JAX-RS supports javax.ws.rs.PATCH
6667
6768
[float]
6869
===== Bug fixes

apm-agent-plugins/apm-jaxrs-plugin/src/main/java/co/elastic/apm/agent/jaxrs/JaxRsTransactionNameInstrumentation.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ public ElementMatcher<? super MethodDescription> getMethodMatcher() {
108108
.or(named("javax.ws.rs.POST"))
109109
.or(named("javax.ws.rs.PUT"))
110110
.or(named("javax.ws.rs.DELETE"))
111+
.or(named("javax.ws.rs.PATCH"))
111112
.or(named("javax.ws.rs.HEAD"))
112113
.or(named("javax.ws.rs.OPTIONS"))))
113114
.onSuperClassesThat(isInAnyPackage(applicationPackages, ElementMatchers.<NamedElement>any()));

0 commit comments

Comments
 (0)