| /* |
| * Licensed to the Apache Software Foundation (ASF) under one or more |
| * contributor license agreements. See the NOTICE file distributed with |
| * this work for additional information regarding copyright ownership. |
| * The ASF licenses this file to You under the Apache License, Version 2.0 |
| * (the "License"); you may not use this file except in compliance with |
| * the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| package org.apache.rocketmq.connect.http.constant; |
| |
| public class HttpConstant { |
| |
| public static final String URL = "url"; |
| public static final String METHOD = "method"; |
| // JsonString |
| public static final String QUERY_PARAMETERS = "queryParameters"; |
| // JsonString |
| public static final String FIXED_QUERY_PARAMETERS = "fixedQueryParameters"; |
| // JsonString |
| public static final String HEADER_PARAMETERS = "headerParameters"; |
| // JsonString |
| public static final String FIXED_HEADER_PARAMETERS = "fixedHeaderParameters"; |
| public static final String BODY = "body"; |
| public static final String SOCKS5_ENDPOINT = "socks5Endpoint"; |
| public static final String SOCKS5_USERNAME = "socks5UserName"; |
| public static final String SOCKS5_PASSWORD = "socks5Password"; |
| public static final String TIMEOUT = "timeout"; |
| public static final String CONCURRENCY = "concurrency"; |
| public static final String CONTENT_TYPE_APPLICATION_JAVASCRIPT = "application/javascript"; |
| public static final String TOKEN = "token"; |
| public static final String AUTH_TYPE = "authType"; |
| public static final String USE_KMS = "useKMS"; |
| public static final String BASIC_USERNAME = "basicUsername"; |
| public static final String BASIC_PASSWORD = "basicPassword"; |
| public static final String API_KEY_USERNAME = "apiKeyUsername"; |
| public static final String API_KEY_PASSWORD = "apiKeyPassword"; |
| public static final String OAUTH_ENDPOINT = "oAuthEndpoint"; |
| public static final String OAUTH_HTTP_METHOD = "oAuthHttpMethod"; |
| public static final String OAUTH_CLIENT_ID = "oAuthClientId"; |
| public static final String OAUTH_CLIENT_SECRET = "oAuthClientSecret"; |
| public static final String OAUTH_HEADER_PARAMETERS = "oAuthHeaderParameters"; |
| public static final String OAUTH_QUERY_PARAMETERS = "oAuthQueryParameters"; |
| public static final String OAUTH_BODY = "oAuthBody"; |
| public static final String ACCOUNT_ID = "accountId"; |
| |
| } |