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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface io.opentelemetry.instrumentation.netty.v4_1.internal.server.HttpServerResponseBeforeCommitHandler
HttpServerResponseBeforeCommitHandler.Noop -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(io.opentelemetry.context.Context context, io.netty.handler.codec.http.HttpResponse response) Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
-
-
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
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 nameNullPointerException- if the argument is null
-
handle
public void handle(io.opentelemetry.context.Context context, io.netty.handler.codec.http.HttpResponse response) - Specified by:
handlein interfaceHttpServerResponseBeforeCommitHandler
-