Class ServiceInvocationResultResponseMetadata
java.lang.Object
com.flowable.serviceregistry.api.runtime.ServiceInvocationResultResponseMetadata
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetBody(ServiceInvocationResultResponse serviceInvocationResultResponse) static booleangetBooleanFromMetadata(ServiceInvocationResultResponse serviceInvocationResultResponse, String key) getHeadersAsMap(ServiceInvocationResultResponse serviceInvocationResultResponse) static StringgetHeadersAsString(ServiceInvocationResultResponse serviceInvocationResultResponse) static intgetIntFromMetadata(ServiceInvocationResultResponse serviceInvocationResultResponse, String key) protected static ObjectgetObjectFromResponseMetadata(ServiceInvocationResultResponse serviceInvocationResultResponse, String key) static tools.jackson.databind.JsonNodegetRawResponse(ServiceInvocationResultResponse serviceInvocationResultResponse) static StringgetServiceInvokerType(ServiceInvocationResultResponse serviceInvocationResultResponse) static intgetStatusCode(ServiceInvocationResultResponse serviceInvocationResultResponse) static StringgetStatusMessage(ServiceInvocationResultResponse serviceInvocationResultResponse) protected static StringgetStringFromMetadata(ServiceInvocationResultResponse serviceInvocationResultResponse, String key) static booleanisJsonContentType(ServiceInvocationResultResponse serviceInvocationResultResponse)
-
Field Details
-
SERVICE_INVOKER_TYPE
- See Also:
-
RAW_RESPONSE
- See Also:
-
STATUS_CODE
- See Also:
-
STATUS_MESSAGE
- See Also:
-
HEADERS_AS_STRING
- See Also:
-
HEADERS_AS_MAP
- See Also:
-
REQUEST_METHOD
- See Also:
-
REQUEST_URL
- See Also:
-
REQUEST_HEADERS_AS_MAP
- See Also:
-
REQUEST_SECURE_HEADERS_AS_MAP
- See Also:
-
BODY
- See Also:
-
REQUEST_BODY
- See Also:
-
IS_JSON_CONTENT_TYPE
- See Also:
-
MCP_STRUCTURED_CONTENT
- See Also:
-
MCP_TEXT_CONTENT
- See Also:
-
-
Constructor Details
-
ServiceInvocationResultResponseMetadata
public ServiceInvocationResultResponseMetadata()
-
-
Method Details
-
getServiceInvokerType
public static String getServiceInvokerType(ServiceInvocationResultResponse serviceInvocationResultResponse) -
getRawResponse
public static tools.jackson.databind.JsonNode getRawResponse(ServiceInvocationResultResponse serviceInvocationResultResponse) -
getStatusCode
-
getStatusMessage
public static String getStatusMessage(ServiceInvocationResultResponse serviceInvocationResultResponse) -
getHeadersAsString
public static String getHeadersAsString(ServiceInvocationResultResponse serviceInvocationResultResponse) -
getHeadersAsMap
public static Map<String, List<String>> getHeadersAsMap(ServiceInvocationResultResponse serviceInvocationResultResponse) -
getBody
-
isJsonContentType
public static boolean isJsonContentType(ServiceInvocationResultResponse serviceInvocationResultResponse) -
getObjectFromResponseMetadata
protected static Object getObjectFromResponseMetadata(ServiceInvocationResultResponse serviceInvocationResultResponse, String key) -
getStringFromMetadata
protected static String getStringFromMetadata(ServiceInvocationResultResponse serviceInvocationResultResponse, String key) -
getIntFromMetadata
public static int getIntFromMetadata(ServiceInvocationResultResponse serviceInvocationResultResponse, String key) -
getBooleanFromMetadata
public static boolean getBooleanFromMetadata(ServiceInvocationResultResponse serviceInvocationResultResponse, String key)
-