Enum HttpServerResponseBeforeCommitHandler.Noop

java.lang.Object
java.lang.Enum<HttpServerResponseBeforeCommitHandler.Noop>
io.opentelemetry.instrumentation.netty.v4_1.internal.server.HttpServerResponseBeforeCommitHandler.Noop
All Implemented Interfaces:
HttpServerResponseBeforeCommitHandler, Serializable, Comparable<HttpServerResponseBeforeCommitHandler.Noop>, java.lang.constant.Constable
Enclosing interface:
HttpServerResponseBeforeCommitHandler

public static enum HttpServerResponseBeforeCommitHandler.Noop extends Enum<HttpServerResponseBeforeCommitHandler.Noop> implements HttpServerResponseBeforeCommitHandler
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
  • Enum Constant Details

  • Method Details

    • values

      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static HttpServerResponseBeforeCommitHandler.Noop valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • handle

      public void handle(io.opentelemetry.context.Context context, io.netty.handler.codec.http.HttpResponse response)
      Specified by:
      handle in interface HttpServerResponseBeforeCommitHandler