java.lang.Object
io.opentelemetry.instrumentation.netty.v4_1.internal.ServerContext

public abstract class ServerContext extends Object
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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract io.opentelemetry.context.Context
    Returns the Context.
    create(io.opentelemetry.context.Context context, io.opentelemetry.instrumentation.netty.v4.common.HttpRequestAndChannel request)
    Create a new ServerContext.
    abstract io.opentelemetry.instrumentation.netty.v4.common.HttpRequestAndChannel
    Returns the HttpRequestAndChannel.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 new ServerContext.
    • context

      public abstract io.opentelemetry.context.Context context()
      Returns the Context.
    • request

      public abstract io.opentelemetry.instrumentation.netty.v4.common.HttpRequestAndChannel request()
      Returns the HttpRequestAndChannel.