You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2024/10/29 07:59:57 UTC
(dubbo) branch 3.3 updated: Check jaxrs 2 class (#14840)
This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch 3.3
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.3 by this push:
new b7fcd9adfb Check jaxrs 2 class (#14840)
b7fcd9adfb is described below
commit b7fcd9adfb2a079ce3f4bad8f42822060c316a46
Author: Albumen Kevin <jh...@gmail.com>
AuthorDate: Tue Oct 29 15:59:52 2024 +0800
Check jaxrs 2 class (#14840)
---
.../protocol/tri/rest/support/jaxrs/JaxrsRequestMappingResolver.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dubbo-plugin/dubbo-rest-jaxrs/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/jaxrs/JaxrsRequestMappingResolver.java b/dubbo-plugin/dubbo-rest-jaxrs/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/jaxrs/JaxrsRequestMappingResolver.java
index f9fc66768e..acf619d7b2 100644
--- a/dubbo-plugin/dubbo-rest-jaxrs/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/jaxrs/JaxrsRequestMappingResolver.java
+++ b/dubbo-plugin/dubbo-rest-jaxrs/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/jaxrs/JaxrsRequestMappingResolver.java
@@ -29,7 +29,7 @@ import org.apache.dubbo.rpc.protocol.tri.rest.mapping.meta.MethodMeta;
import org.apache.dubbo.rpc.protocol.tri.rest.mapping.meta.ServiceMeta;
import org.apache.dubbo.rpc.protocol.tri.rest.util.RestToolKit;
-@Activate(onClass = "javax.ws.rs.Path")
+@Activate(onClass = {"javax.ws.rs.Path", "javax.ws.rs.container.ContainerRequestContext"})
public class JaxrsRequestMappingResolver implements RequestMappingResolver {
private final FrameworkModel frameworkModel;