@ProviderType public interface SseEventSourceFactory
SseEventSource
instances.
Bundles may obtain an instance of a SseEventSourceFactory
using the
service registry. This service may then be used to construct
SseEventSource
instances for the supplied WebTarget
.
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.sse.SseEventSource.Builder |
newBuilder(javax.ws.rs.client.WebTarget target)
Create a new
SseEventSource.Builder |
javax.ws.rs.sse.SseEventSource |
newSource(javax.ws.rs.client.WebTarget target)
Create a new
SseEventSource |
javax.ws.rs.sse.SseEventSource.Builder newBuilder(javax.ws.rs.client.WebTarget target)
SseEventSource.Builder
target
- The web target to consume events fromjavax.ws.rs.sse.SseEventSource newSource(javax.ws.rs.client.WebTarget target)
SseEventSource
target
- The web target to consume events fromCopyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0