Enum Tomcat10ResponseMutator

java.lang.Object
java.lang.Enum<Tomcat10ResponseMutator>
io.opentelemetry.javaagent.instrumentation.tomcat.v10_0.Tomcat10ResponseMutator
All Implemented Interfaces:
io.opentelemetry.javaagent.bootstrap.http.HttpServerResponseMutator<org.apache.coyote.Response>, Serializable, Comparable<Tomcat10ResponseMutator>, java.lang.constant.Constable

public enum Tomcat10ResponseMutator extends Enum<Tomcat10ResponseMutator> implements io.opentelemetry.javaagent.bootstrap.http.HttpServerResponseMutator<org.apache.coyote.Response>
  • Enum Constant Details

  • Method Details

    • values

      public static Tomcat10ResponseMutator[] 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 Tomcat10ResponseMutator 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
    • appendHeader

      public void appendHeader(org.apache.coyote.Response response, String name, String value)
      Specified by:
      appendHeader in interface io.opentelemetry.javaagent.bootstrap.http.HttpServerResponseMutator<org.apache.coyote.Response>