Class TurAemReactiveHttpService
java.lang.Object
com.viglet.turing.connector.plugin.aem.service.TurAemReactiveHttpService
Reactive HTTP service for AEM API calls using Spring WebFlux
- Since:
- 2025.3
- Author:
- Alexandre Oliveira
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono
<String> fetchResponseBodyReactive
(String url, TurAemSourceContext turAemSourceContext) Fetches response body reactively for the given URL and context
-
Constructor Details
-
TurAemReactiveHttpService
public TurAemReactiveHttpService()
-
-
Method Details
-
fetchResponseBodyReactive
public reactor.core.publisher.Mono<String> fetchResponseBodyReactive(String url, TurAemSourceContext turAemSourceContext) Fetches response body reactively for the given URL and context- Parameters:
url
- the URL to fetchturAemSourceContext
- the source context containing credentials- Returns:
- Mono containing the response body if valid JSON, empty otherwise
-