@RegisterRestClient(baseUri="http://localhost:10000/string/sse") public interface RsSseClient
Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<jakarta.ws.rs.sse.InboundSseEvent> |
getEvents() |
org.reactivestreams.Publisher<String> |
getStrings() |
@GET @Path(value="ssePath") @Produces(value="text/event-stream") org.reactivestreams.Publisher<String> getStrings()
@GET @Path(value="ssePath2") @Produces(value="text/event-stream") org.reactivestreams.Publisher<jakarta.ws.rs.sse.InboundSseEvent> getEvents()
Copyright © 2017 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.