public class SseEventSinkContextProvider extends Object implements ContextProvider<javax.ws.rs.sse.SseEventSink>
Constructor and Description |
---|
SseEventSinkContextProvider() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.sse.SseEventSink |
createContext(Message message)
Creates the context instance
|
protected javax.ws.rs.sse.SseEventSink |
createSseEventSink(javax.servlet.http.HttpServletRequest request,
javax.ws.rs.ext.MessageBodyWriter<javax.ws.rs.sse.OutboundSseEvent> writer,
javax.ws.rs.container.AsyncResponse async,
Integer bufferSize) |
public javax.ws.rs.sse.SseEventSink createContext(Message message)
ContextProvider
createContext
in interface ContextProvider<javax.ws.rs.sse.SseEventSink>
message
- the current messageprotected javax.ws.rs.sse.SseEventSink createSseEventSink(javax.servlet.http.HttpServletRequest request, javax.ws.rs.ext.MessageBodyWriter<javax.ws.rs.sse.OutboundSseEvent> writer, javax.ws.rs.container.AsyncResponse async, Integer bufferSize)
Apache CXF