Lines Matching refs:HttpConstant
63 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_TIMEOUT_MS, HttpConstant::TIME_OUT);
64 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_CONNECTTIMEOUT_MS, HttpConstant::TIME_OUT);
65 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_BUFFERSIZE, HttpConstant::BUFFER_SIZE);
82 if (method == HttpConstant::HTTP_METHOD_HEAD || method == HttpConstant::HTTP_METHOD_OPTIONS ||
83 method == HttpConstant::HTTP_METHOD_DELETE || method == HttpConstant::HTTP_METHOD_TRACE ||
84 method == HttpConstant::HTTP_METHOD_GET) {
86 } else if (method == HttpConstant::HTTP_METHOD_POST || method == HttpConstant::HTTP_METHOD_PUT) {
89 responseData.SetCode(HttpConstant::ERROR);
98 responseData.SetCode(HttpConstant::ERROR);
106 int32_t responseCode = HttpConstant::ERROR;
122 std::size_t index = url.find(HttpConstant::URL_PARAM_SEPARATOR);
126 std::string encodeIn = param + HttpConstant::URL_PARAM_DELIMITER + requestData.GetData();
135 url = url + HttpConstant::URL_PARAM_SEPARATOR + encodeOut;