Class NettyHttpConstants
- java.lang.Object
-
- org.apache.camel.component.netty.http.NettyHttpConstants
-
public final class NettyHttpConstants extends Object
Netty HTTP constants.
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONNECTION
static String
CONTENT_TYPE
static String
CONTENT_TYPE_JAVA_SERIALIZED_OBJECT
static String
CONTENT_TYPE_WWW_FORM_URLENCODED
static String
HTTP_AUTHENTICATION
static String
HTTP_CHARACTER_ENCODING
static String
HTTP_METHOD
static String
HTTP_PATH
static String
HTTP_PROTOCOL_VERSION
static String
HTTP_QUERY
static String
HTTP_RAW_QUERY
static String
HTTP_RESPONSE_CODE
static String
HTTP_RESPONSE_TEXT
Deprecated.static String
HTTP_URI
static String
HTTP_URL
static String
NETTY_CLOSE_CHANNEL_WHEN_COMPLETE
-
-
-
Field Detail
-
CONTENT_TYPE_JAVA_SERIALIZED_OBJECT
public static final String CONTENT_TYPE_JAVA_SERIALIZED_OBJECT
- See Also:
- Constant Field Values
-
CONTENT_TYPE_WWW_FORM_URLENCODED
public static final String CONTENT_TYPE_WWW_FORM_URLENCODED
- See Also:
- Constant Field Values
-
HTTP_RESPONSE_TEXT
@Deprecated public static final String HTTP_RESPONSE_TEXT
Deprecated.- See Also:
- Constant Field Values
-
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
-
-