Class AbstractHttpSpanDecorator
java.lang.Object
org.apache.camel.telemetry.decorators.AbstractSpanDecorator
org.apache.camel.telemetry.decorators.AbstractHttpSpanDecorator
- All Implemented Interfaces:
SpanDecorator
- Direct Known Subclasses:
AhcSpanDecorator,HttpSpanDecorator,JettySpanDecorator,NettyHttpSpanDecorator,PlatformHttpSpanDecorator,RestOpenapiSpanDecorator,RestSpanDecorator,ServletSpanDecorator,UndertowSpanDecorator,VertxHttpSpanDecorator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterTracingEvent(Span span, org.apache.camel.Exchange exchange) voidbeforeTracingEvent(Span span, org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint) getHttpMethod(org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint) protected StringgetHttpURL(org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint) getOperationName(org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint) Methods inherited from class org.apache.camel.telemetry.decorators.AbstractSpanDecorator
getExtractor, getInjector, stripSchemeAndOptions, stripSchemeAndOptions, toQueryParametersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.telemetry.SpanDecorator
getComponent, getComponentClassName
-
Field Details
-
POST_METHOD
- See Also:
-
GET_METHOD
- See Also:
-
-
Constructor Details
-
AbstractHttpSpanDecorator
public AbstractHttpSpanDecorator()
-
-
Method Details
-
getHttpMethod
-
getOperationName
public String getOperationName(org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint) - Specified by:
getOperationNamein interfaceSpanDecorator- Overrides:
getOperationNamein classAbstractSpanDecorator
-
beforeTracingEvent
public void beforeTracingEvent(Span span, org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint) - Specified by:
beforeTracingEventin interfaceSpanDecorator- Overrides:
beforeTracingEventin classAbstractSpanDecorator
-
getHttpURL
-
afterTracingEvent
- Specified by:
afterTracingEventin interfaceSpanDecorator- Overrides:
afterTracingEventin classAbstractSpanDecorator
-