Package org.apache.camel.component.http
Class HttpConstants
- java.lang.Object
-
- org.apache.camel.component.http.HttpConstants
-
public final class HttpConstants extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONTENT_ENCODING
static String
CONTENT_TYPE
static String
CONTENT_TYPE_JAVA_SERIALIZED_OBJECT
static String
CONTENT_TYPE_WWW_FORM_URLENCODED
static String
HTTP_CHARACTER_ENCODING
static String
HTTP_HEADER_HOST
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
static String
HTTP_URI
static String
REST_HTTP_QUERY
static String
REST_HTTP_URI
-
-
-
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
-
CONTENT_ENCODING
@Metadata(description="The HTTP content encoding. Is set on both the IN and OUT message to\nprovide a content encoding, such as `gzip`.", javaType="String") public static final String CONTENT_ENCODING
- See Also:
- Constant Field Values
-
HTTP_RESPONSE_CODE
@Metadata(description="The HTTP response code from the external server. Is 200 for OK.", javaType="int") public static final String HTTP_RESPONSE_CODE
- See Also:
- Constant Field Values
-
HTTP_RESPONSE_TEXT
@Metadata(description="The HTTP response text from the external server.", javaType="String") public static final String HTTP_RESPONSE_TEXT
- See Also:
- Constant Field Values
-
HTTP_QUERY
@Metadata(label="producer", description="URI parameters. Will override existing URI parameters set directly on\nthe endpoint.", javaType="String") public static final String HTTP_QUERY
- See Also:
- Constant Field Values
-
HTTP_PROTOCOL_VERSION
@Metadata(label="producer", description="The version of the http protocol used.", javaType="String") public static final String HTTP_PROTOCOL_VERSION
- See Also:
- Constant Field Values
-
HTTP_HEADER_HOST
@Metadata(label="producer", description="The target host.", javaType="String") public static final String HTTP_HEADER_HOST
- See Also:
- Constant Field Values
-
REST_HTTP_URI
@Metadata(label="producer", description="The rest http URI.", javaType="String") public static final String REST_HTTP_URI
- See Also:
- Constant Field Values
-
HTTP_URI
@Metadata(label="producer", description="URI to call. Will override existing URI set directly on the endpoint.\nThis uri is the uri of the http server to call. Its not the same as the\nCamel endpoint uri, where you can configure endpoint options such as\nsecurity etc. This header does not support that, its only the uri of the\nhttp server.", javaType="String") public static final String HTTP_URI
- See Also:
- Constant Field Values
-
HTTP_PATH
@Metadata(label="producer", description="Request URI\'s path, the header will be used to build the request URI\nwith the HTTP_URI.", javaType="String") public static final String HTTP_PATH
- See Also:
- Constant Field Values
-
REST_HTTP_QUERY
@Metadata(label="producer", description="The rest http query.", javaType="String") public static final String REST_HTTP_QUERY
- See Also:
- Constant Field Values
-
HTTP_RAW_QUERY
@Metadata(label="producer", description="The http raw query.", javaType="String") public static final String HTTP_RAW_QUERY
- See Also:
- Constant Field Values
-
HTTP_METHOD
@Metadata(label="producer", description="The http method to use.", javaType="org.apache.camel.component.http.HttpMethods") public static final String HTTP_METHOD
- See Also:
- Constant Field Values
-
HTTP_CHARACTER_ENCODING
@Metadata(description="The character encoding.", javaType="String") public static final String HTTP_CHARACTER_ENCODING
- See Also:
- Constant Field Values
-
CONTENT_TYPE
@Metadata(description="The HTTP content type. Is set on both the IN and OUT message to provide\na content type, such as `text/html`.", javaType="String") public static final String CONTENT_TYPE
- See Also:
- Constant Field Values
-
-