Package org.camunda.bpm.engine.impl.util
Class ConnectUtil
- java.lang.Object
-
- org.camunda.bpm.engine.impl.util.ConnectUtil
-
public class ConnectUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONFIG_NAME_CONNECTION_TIMEOUT
static String
CONFIG_NAME_SOCKET_TIMEOUT
static String
HEADER_CONTENT_TYPE
static String
METHOD_NAME_POST
static String
PARAM_NAME_HEADERS
static String
PARAM_NAME_REQUEST_CONFIG
static String
PARAM_NAME_REQUEST_METHOD
static String
PARAM_NAME_REQUEST_PAYLOAD
static String
PARAM_NAME_REQUEST_URL
static String
PARAM_NAME_RESPONSE
static String
PARAM_NAME_RESPONSE_STATUS_CODE
-
Constructor Summary
Constructors Constructor Description ConnectUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,Object>
addRequestTimeoutConfiguration(Map<String,Object> requestParams, int timeout)
static Map<String,Object>
assembleRequestParameters(String methodName, String url, String contentType, String payload)
-
-
-
Field Detail
-
PARAM_NAME_REQUEST_URL
public static final String PARAM_NAME_REQUEST_URL
- See Also:
- Constant Field Values
-
PARAM_NAME_REQUEST_METHOD
public static final String PARAM_NAME_REQUEST_METHOD
- See Also:
- Constant Field Values
-
PARAM_NAME_REQUEST_PAYLOAD
public static final String PARAM_NAME_REQUEST_PAYLOAD
- See Also:
- Constant Field Values
-
PARAM_NAME_REQUEST_CONFIG
public static final String PARAM_NAME_REQUEST_CONFIG
- See Also:
- Constant Field Values
-
METHOD_NAME_POST
public static final String METHOD_NAME_POST
- See Also:
- Constant Field Values
-
CONFIG_NAME_CONNECTION_TIMEOUT
public static final String CONFIG_NAME_CONNECTION_TIMEOUT
- See Also:
- Constant Field Values
-
CONFIG_NAME_SOCKET_TIMEOUT
public static final String CONFIG_NAME_SOCKET_TIMEOUT
- See Also:
- Constant Field Values
-
PARAM_NAME_RESPONSE_STATUS_CODE
public static final String PARAM_NAME_RESPONSE_STATUS_CODE
- See Also:
- Constant Field Values
-
PARAM_NAME_RESPONSE
public static final String PARAM_NAME_RESPONSE
- See Also:
- Constant Field Values
-
PARAM_NAME_HEADERS
public static final String PARAM_NAME_HEADERS
- See Also:
- Constant Field Values
-
HEADER_CONTENT_TYPE
public static final String HEADER_CONTENT_TYPE
- See Also:
- Constant Field Values
-
-