Class NettyHttpConstants


  • public final class NettyHttpConstants
    extends Object
    Netty HTTP constants.
    • Field Detail

      • HTTP_AUTHENTICATION

        @Metadata(description="If the user was authenticated using HTTP Basic then this header is added\nwith the value `Basic`.",
                  javaType="String")
        public static final String HTTP_AUTHENTICATION
        See Also:
        Constant Field Values
      • CONTENT_TYPE

        @Metadata(description="To set the content-type of the HTTP body. For example:\n`text/plain; charset=\"UTF-8\"`.",
                  javaType="String")
        public static final String CONTENT_TYPE
        See Also:
        Constant Field Values
      • CONNECTION

        @Metadata(description="The value of the HTTP header connection to use.",
                  javaType="String")
        public static final String CONNECTION
      • NETTY_CLOSE_CHANNEL_WHEN_COMPLETE

        @Metadata(description="Indicates whether the channel should be closed after complete.",
                  javaType="Boolean")
        public static final String NETTY_CLOSE_CHANNEL_WHEN_COMPLETE
        See Also:
        Constant Field Values
      • HTTP_RESPONSE_CODE

        @Metadata(description="Allows to set the HTTP Status code to use. By default 200 is used for\nsuccess, and 500 for failure.",
                  javaType="Integer")
        public static final String HTTP_RESPONSE_CODE
        See Also:
        Constant Field Values
      • HTTP_PROTOCOL_VERSION

        @Metadata(description="The version of the HTTP protocol.",
                  javaType="String",
                  defaultValue="HTTP/1.1")
        public static final String HTTP_PROTOCOL_VERSION
        See Also:
        Constant Field Values
      • HTTP_METHOD

        @Metadata(description="The HTTP method used, such as GET, POST, TRACE etc.",
                  javaType="String",
                  defaultValue="GET")
        public static final String HTTP_METHOD
        See Also:
        Constant Field Values
      • HTTP_QUERY

        @Metadata(description="Any query parameters, such as `foo=bar&beer=yes`",
                  javaType="String")
        public static final String HTTP_QUERY
        See Also:
        Constant Field Values
      • HTTP_PATH

        @Metadata(description="Allows to provide URI context-path and query parameters as a `String`\nvalue that overrides the endpoint configuration. This allows to reuse\nthe same producer for calling same remote http server, but using a\ndynamic context-path and query parameters.",
                  javaType="String")
        public static final String HTTP_PATH
        See Also:
        Constant Field Values
      • HTTP_RAW_QUERY

        @Metadata(description="Any query parameters, such as `foo=bar&beer=yes`. Stored in the raw\nform, as they arrived to the consumer (i.e. before URL decoding).",
                  javaType="String")
        public static final String HTTP_RAW_QUERY
        See Also:
        Constant Field Values
      • HTTP_URL

        @Metadata(description="The URL including protocol, host and port, etc: \n`\\http://0.0.0.0:8080/myapp`.",
                  javaType="String")
        public static final String HTTP_URL
        See Also:
        Constant Field Values
      • HTTP_CHARACTER_ENCODING

        @Metadata(description="The charset from the content-type header.",
                  javaType="String")
        public static final String HTTP_CHARACTER_ENCODING
        See Also:
        Constant Field Values
      • HTTP_URI

        @Metadata(description="The URI without protocol, host and port, etc:\n`/myapp`.",
                  javaType="String")
        public static final String HTTP_URI
        See Also:
        Constant Field Values