Skip to content

Commit 568a158

Browse files
committed
fix jetty-client-9.0 class name error and isOverrideArgs error
1 parent 9072549 commit 568a158

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apm-sniffer/apm-sdk-plugin/jetty-plugin/jetty-client-9.0-plugin/src/main/java/org/apache/skywalking/apm/plugin/jetty/v90/client/define/HttpRequestInstrumentation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public String getMethodsInterceptor() {
8585

8686
@Override
8787
public boolean isOverrideArgs() {
88-
return false;
88+
return true;
8989
}
9090
}
9191
};

apm-sniffer/apm-sdk-plugin/jetty-plugin/jetty-client-9.0-plugin/src/main/java/org/apache/skywalking/apm/plugin/jetty/v90/client/define/ResponseNotifierInstrumentation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
*/
4242
public class ResponseNotifierInstrumentation extends ClassInstanceMethodsEnhancePluginDefine {
4343

44-
private static final String ENHANCE_CLASS = "org.eclipse.jetty.client.tar";
44+
private static final String ENHANCE_CLASS = "org.eclipse.jetty.client.ResponseNotifier";
4545
private static final String ENHANCE_CLASS_NAME = "notifyComplete";
4646
public static final String SYNC_SEND_INTERCEPTOR =
47-
"org.apache.skywalking.apm.plugin.jetty.v9.client.ResponseNotifierInterceptor";
47+
"org.apache.skywalking.apm.plugin.jetty.v90.client.ResponseNotifierInterceptor";
4848

4949
@Override
5050
public ConstructorInterceptPoint[] getConstructorsInterceptPoints() {

0 commit comments

Comments
 (0)