public static class OutboundSseEventImpl.BuilderImpl extends Object implements javax.ws.rs.sse.OutboundSseEvent.Builder
Constructor and Description |
---|
BuilderImpl() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.sse.OutboundSseEvent |
build() |
javax.ws.rs.sse.OutboundSseEvent.Builder |
comment(String newComment) |
javax.ws.rs.sse.OutboundSseEvent.Builder |
data(Class newType,
Object newData) |
javax.ws.rs.sse.OutboundSseEvent.Builder |
data(javax.ws.rs.core.GenericType newType,
Object newData) |
javax.ws.rs.sse.OutboundSseEvent.Builder |
data(Object newData) |
javax.ws.rs.sse.OutboundSseEvent.Builder |
id(String newId) |
javax.ws.rs.sse.OutboundSseEvent.Builder |
mediaType(javax.ws.rs.core.MediaType newMediaType) |
javax.ws.rs.sse.OutboundSseEvent.Builder |
name(String newName) |
javax.ws.rs.sse.OutboundSseEvent.Builder |
reconnectDelay(long milliseconds) |
public javax.ws.rs.sse.OutboundSseEvent.Builder id(String newId)
id
in interface javax.ws.rs.sse.OutboundSseEvent.Builder
public javax.ws.rs.sse.OutboundSseEvent.Builder name(String newName)
name
in interface javax.ws.rs.sse.OutboundSseEvent.Builder
public javax.ws.rs.sse.OutboundSseEvent.Builder reconnectDelay(long milliseconds)
reconnectDelay
in interface javax.ws.rs.sse.OutboundSseEvent.Builder
public javax.ws.rs.sse.OutboundSseEvent.Builder mediaType(javax.ws.rs.core.MediaType newMediaType)
mediaType
in interface javax.ws.rs.sse.OutboundSseEvent.Builder
public javax.ws.rs.sse.OutboundSseEvent.Builder comment(String newComment)
comment
in interface javax.ws.rs.sse.OutboundSseEvent.Builder
public javax.ws.rs.sse.OutboundSseEvent.Builder data(Class newType, Object newData)
data
in interface javax.ws.rs.sse.OutboundSseEvent.Builder
public javax.ws.rs.sse.OutboundSseEvent.Builder data(javax.ws.rs.core.GenericType newType, Object newData)
data
in interface javax.ws.rs.sse.OutboundSseEvent.Builder
public javax.ws.rs.sse.OutboundSseEvent.Builder data(Object newData)
data
in interface javax.ws.rs.sse.OutboundSseEvent.Builder
public javax.ws.rs.sse.OutboundSseEvent build()
build
in interface javax.ws.rs.sse.OutboundSseEvent.Builder
Apache CXF