public class HttpRequestInstrumentation extends ClassInstanceMethodsEnhancePluginDefine
HttpRequestInstrumentation enhance the send method without argument in
org.eclipse.jetty.client.HttpRequest by org.apache.skywalking.apm.plugin.jetty.client.SyncHttpRequestSendInterceptor
and enhance the send with org.eclipse.jetty.client.api.Response$CompleteListener parameter
by org.apache.skywalking.apm.plugin.jetty.client.AsyncHttpRequestSendInterceptor| Modifier and Type | Field and Description |
|---|---|
static String |
SYNC_SEND_INTERCEPTOR |
CONTEXT_ATTR_NAME| Constructor and Description |
|---|
HttpRequestInstrumentation() |
| Modifier and Type | Method and Description |
|---|---|
protected ClassMatch |
enhanceClass() |
protected ConstructorInterceptPoint[] |
getConstructorsInterceptPoints() |
protected InstanceMethodsInterceptPoint[] |
getInstanceMethodsInterceptPoints() |
protected String[] |
witnessClasses() |
getStaticMethodsInterceptPointsenhancedefinepublic static final String SYNC_SEND_INTERCEPTOR
protected ConstructorInterceptPoint[] getConstructorsInterceptPoints()
getConstructorsInterceptPoints in class ClassEnhancePluginDefineprotected InstanceMethodsInterceptPoint[] getInstanceMethodsInterceptPoints()
getInstanceMethodsInterceptPoints in class ClassEnhancePluginDefineprotected ClassMatch enhanceClass()
enhanceClass in class AbstractClassEnhancePluginDefineprotected String[] witnessClasses()
witnessClasses in class AbstractClassEnhancePluginDefineCopyright © 2018 The Apache Software Foundation. All rights reserved.