Class ServerContext
java.lang.Object
io.opentelemetry.instrumentation.netty.v4_1.internal.ServerContext
A tuple of an
Context and a HttpRequestAndChannel.
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract io.opentelemetry.context.Contextcontext()Returns theContext.static ServerContextcreate(io.opentelemetry.context.Context context, io.opentelemetry.instrumentation.netty.v4.common.HttpRequestAndChannel request) Create a newServerContext.abstract io.opentelemetry.instrumentation.netty.v4.common.HttpRequestAndChannelrequest()Returns theHttpRequestAndChannel.
-
Constructor Details
-
ServerContext
public ServerContext()
-
-
Method Details
-
create
public static ServerContext create(io.opentelemetry.context.Context context, io.opentelemetry.instrumentation.netty.v4.common.HttpRequestAndChannel request) Create a newServerContext. -
context
public abstract io.opentelemetry.context.Context context()Returns theContext. -
request
public abstract io.opentelemetry.instrumentation.netty.v4.common.HttpRequestAndChannel request()Returns theHttpRequestAndChannel.
-