Class NettyHttpConstants

java.lang.Object
org.apache.camel.component.netty.http.NettyHttpConstants

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

    • CONTENT_TYPE_JAVA_SERIALIZED_OBJECT

      public static final String CONTENT_TYPE_JAVA_SERIALIZED_OBJECT
      See Also:
    • CONTENT_TYPE_WWW_FORM_URLENCODED

      public static final String CONTENT_TYPE_WWW_FORM_URLENCODED
      See Also:
    • HTTP_RESPONSE_TEXT

      @Deprecated public static final String HTTP_RESPONSE_TEXT
      Deprecated.
      See Also:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • HTTP_QUERY

      @Metadata(description="Any query parameters, such as `foo=bar&beer=yes`", javaType="String") public static final String HTTP_QUERY
      See Also:
    • 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:
    • 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:
    • 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:
    • HTTP_CHARACTER_ENCODING

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

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