Interface SseEventSourceFactory
@ProviderType
public interface SseEventSourceFactory
A factory for 
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.
- 
Method SummaryModifier and TypeMethodDescriptionjakarta.ws.rs.sse.SseEventSource.BuildernewBuilder(jakarta.ws.rs.client.WebTarget target) Create a newSseEventSource.Builderjakarta.ws.rs.sse.SseEventSourcenewSource(jakarta.ws.rs.client.WebTarget target) Create a newSseEventSource
- 
Method Details- 
newBuilderjakarta.ws.rs.sse.SseEventSource.Builder newBuilder(jakarta.ws.rs.client.WebTarget target) Create a newSseEventSource.Builder- Parameters:
- target- The web target to consume events from
- Returns:
- a builder which can be used to further configure the event source
 
- 
newSourcejakarta.ws.rs.sse.SseEventSource newSource(jakarta.ws.rs.client.WebTarget target) Create a newSseEventSource- Parameters:
- target- The web target to consume events from
- Returns:
- a configured event source
 
 
-