Class HttpUtils
java.lang.Object
com.mulesoft.connectors.a2a.internal.util.certificate.HttpUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RequestAttributesbuildRequestAttributes(String taskId, String contextId, org.mule.runtime.http.api.domain.request.HttpRequestContext requestContext) static booleanisValidUrl(String url) Validates if the given URL is a valid HTTP/HTTPS URL.
-
Constructor Details
-
HttpUtils
public HttpUtils()
-
-
Method Details
-
buildRequestAttributes
public static RequestAttributes buildRequestAttributes(String taskId, String contextId, org.mule.runtime.http.api.domain.request.HttpRequestContext requestContext) -
isValidUrl
Validates if the given URL is a valid HTTP/HTTPS URL.- Parameters:
url- The URL to validate- Returns:
- true if the URL is valid, false otherwise
-