Class AhcConstants


  • public final class AhcConstants
    extends Object
    • Field Detail

      • 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 status text",
                  javaType="java.lang.String")
        public static final String HTTP_RESPONSE_TEXT
        See Also:
        Constant Field Values
      • CONTENT_LENGTH

        @Metadata(description="The content length of the response",
                  javaType="int")
        public static final String CONTENT_LENGTH
        See Also:
        Constant Field Values
      • HTTP_METHOD

        @Metadata(description="The http method to execute",
                  javaType="java.lang.String")
        public static final String HTTP_METHOD
        See Also:
        Constant Field Values
      • CONTENT_ENCODING

        @Metadata(description="The HTTP content encoding. Is set on both the IN and OUT message to provide a content encoding, such as `gzip`.",
                  javaType="java.lang.String")
        public static final String CONTENT_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 a content type, such as `text/html`",
                  javaType="java.lang.String")
        public static final String CONTENT_TYPE
        See Also:
        Constant Field Values
      • LOCATION

        @Metadata(description="The redirect location",
                  javaType="java.lang.String")
        public static final String LOCATION
        See Also:
        Constant Field Values
      • HTTP_URI

        @Metadata(description="URI to call. Will override existing URI set directly on the endpoint.",
                  javaType="java.lang.String")
        public static final String HTTP_URI
        See Also:
        Constant Field Values
      • HTTP_PATH

        @Metadata(description="Request URI\'s path, the header will be used to build the request URI with the HTTP_URI. If the path is start with \"/\", http producer will try to find the relative path based on the Exchange.HTTP_BASE_URI header or the `exchange.getFromEndpoint().getEndpointUri()`.",
                  javaType="java.lang.String")
        public static final String HTTP_PATH
        See Also:
        Constant Field Values
      • HTTP_BASE_URI

        @Metadata(description="The base of the path to append to the URI",
                  javaType="java.lang.String")
        public static final String HTTP_BASE_URI
        See Also:
        Constant Field Values
      • HTTP_QUERY

        @Metadata(description="*Camel 2.11 onwards:* URI parameters. Will override existing URI parameters set directly on the endpoint.",
                  javaType="java.lang.String")
        public static final String HTTP_QUERY
        See Also:
        Constant Field Values