Skip to content

Commit a5e1758

Browse files
committed
remove reactive
1 parent 99d6359 commit a5e1758

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

modules/http-api/src/main/java/module-info.java

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
// For the deprecated API methods still relying on org.mule.runtime.core.api.retry.policy.RetryPolicyTemplate
1818
requires org.mule.runtime.core;
1919
requires com.github.benmanes.caffeine;
20-
requires org.reactivestreams;
2120

2221
exports org.mule.runtime.http.api;
2322
exports org.mule.runtime.http.api.client;

modules/http-api/src/main/java/org/mule/runtime/http/api/client/HttpClient.java

-9
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import org.mule.runtime.http.api.client.ws.WebSocketCallback;
1313
import org.mule.runtime.http.api.domain.message.request.HttpRequest;
1414
import org.mule.runtime.http.api.domain.message.response.HttpResponse;
15-
import org.mule.runtime.http.api.domain.sse.ServerSentEvent;
1615
import org.mule.runtime.http.api.ws.WebSocket;
1716

1817
import java.io.IOException;
@@ -21,8 +20,6 @@
2120
import java.util.concurrent.TimeoutException;
2221
import java.util.function.BiConsumer;
2322

24-
import org.reactivestreams.Publisher;
25-
2623
/**
2724
* Object that sends an HTTP request, and returns the response. Notice it must be started to be used and stopped to be disposed
2825
* properly. Blocking and non-blocking options are available to execute requests. To extends it's functionality and not depend on
@@ -171,12 +168,6 @@ default CompletableFuture<WebSocket> openWebSocket(HttpRequest request,
171168
throw new UnsupportedOperationException("WebSockets are only supported in Enterprise Edition");
172169
}
173170

174-
default Publisher<ServerSentEvent> consumeServerSentEvents(HttpRequest request,
175-
HttpRequestOptions requestOptions,
176-
String streamId) {
177-
throw new UnsupportedOperationException("Server-sent Events are not supported");
178-
}
179-
180171
default ServerSentEventSource sseSource(String url) {
181172
throw new UnsupportedOperationException("Server-sent Events are not supported");
182173
}

0 commit comments

Comments
 (0)