Enum HttpMessageType

java.lang.Object
java.lang.Enum<HttpMessageType>
reactor.netty.http.logging.HttpMessageType
All Implemented Interfaces:
Serializable, Comparable<HttpMessageType>, java.lang.constant.Constable

public enum HttpMessageType extends Enum<HttpMessageType>
Representation of various HttpMessage types.
Since:
1.0.24
Author:
Violeta Georgieva
  • Enum Constant Details

    • REQUEST

      public static final HttpMessageType REQUEST
      Represents HttpRequest. Contains information for:
      • the decoding results
      • the request method
      • the the request uri
      • the protocol version
      • the request headers
    • FULL_REQUEST

      public static final HttpMessageType FULL_REQUEST
      Represents FullHttpRequest. Contains information for:
      • the decoding results
      • the HTTP content
      • the request method
      • the the request uri
      • the protocol version
      • the request headers
      • the trailing headers
    • RESPONSE

      public static final HttpMessageType RESPONSE
      Represents HttpResponse. Contains information for:
      • the decoding results
      • the protocol version
      • the response status
      • the request headers
    • FULL_RESPONSE

      public static final HttpMessageType FULL_RESPONSE
      Represents FullHttpResponse. Contains information for:
      • the decoding results
      • the HTTP content
      • the protocol version
      • the response status
      • the request headers
      • the trailing headers
    • CONTENT

      public static final HttpMessageType CONTENT
      Represents HttpContent. Contains information for:
      • the decoding results
      • the HTTP content
    • LAST_CONTENT

      public static final HttpMessageType LAST_CONTENT
      Represents LastHttpContent. Contains information for:
      • the decoding results
      • the HTTP content
      • the trailing headers
  • Method Details

    • values

      public static HttpMessageType[] 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 HttpMessageType 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