Class OutboundSseEventImpl.BuilderImpl
java.lang.Object
org.jboss.resteasy.plugins.providers.sse.OutboundSseEventImpl.BuilderImpl
- All Implemented Interfaces:
jakarta.ws.rs.sse.OutboundSseEvent.Builder
- Enclosing class:
OutboundSseEventImpl
public static class OutboundSseEventImpl.BuilderImpl
extends Object
implements jakarta.ws.rs.sse.OutboundSseEvent.Builder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.sse.OutboundSseEvent
build()
jakarta.ws.rs.sse.OutboundSseEvent.Builder
jakarta.ws.rs.sse.OutboundSseEvent.Builder
jakarta.ws.rs.sse.OutboundSseEvent.Builder
jakarta.ws.rs.sse.OutboundSseEvent.Builder
jakarta.ws.rs.sse.OutboundSseEvent.Builder
jakarta.ws.rs.sse.OutboundSseEvent.Builder
mediaType
(jakarta.ws.rs.core.MediaType mediaType) jakarta.ws.rs.sse.OutboundSseEvent.Builder
jakarta.ws.rs.sse.OutboundSseEvent.Builder
reconnectDelay
(long milliseconds)
-
Constructor Details
-
BuilderImpl
public BuilderImpl()
-
-
Method Details
-
name
- Specified by:
name
in interfacejakarta.ws.rs.sse.OutboundSseEvent.Builder
-
id
- Specified by:
id
in interfacejakarta.ws.rs.sse.OutboundSseEvent.Builder
-
reconnectDelay
public jakarta.ws.rs.sse.OutboundSseEvent.Builder reconnectDelay(long milliseconds) - Specified by:
reconnectDelay
in interfacejakarta.ws.rs.sse.OutboundSseEvent.Builder
-
mediaType
public jakarta.ws.rs.sse.OutboundSseEvent.Builder mediaType(jakarta.ws.rs.core.MediaType mediaType) - Specified by:
mediaType
in interfacejakarta.ws.rs.sse.OutboundSseEvent.Builder
-
comment
- Specified by:
comment
in interfacejakarta.ws.rs.sse.OutboundSseEvent.Builder
-
data
-
data
public jakarta.ws.rs.sse.OutboundSseEvent.Builder data(jakarta.ws.rs.core.GenericType type, Object data) - Specified by:
data
in interfacejakarta.ws.rs.sse.OutboundSseEvent.Builder
-
data
- Specified by:
data
in interfacejakarta.ws.rs.sse.OutboundSseEvent.Builder
-
build
public jakarta.ws.rs.sse.OutboundSseEvent build()- Specified by:
build
in interfacejakarta.ws.rs.sse.OutboundSseEvent.Builder
-