Class ResponseAttributesHelper
java.lang.Object
com.mulesoft.connectors.a2a.internal.client.helper.ResponseAttributesHelper
Utility class for creating ResponseAttributes objects from HTTP responses.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResponseAttributescreateFromHttpResponse(org.mule.runtime.http.api.domain.message.response.HttpResponse response) Creates ResponseAttributes from an HTTP response.
-
Method Details
-
createFromHttpResponse
public static ResponseAttributes createFromHttpResponse(org.mule.runtime.http.api.domain.message.response.HttpResponse response) Creates ResponseAttributes from an HTTP response.- Parameters:
response- the HTTP response- Returns:
- ResponseAttributes object with status code, headers, and reason phrase
-