code: @Override
      public SseEventSink createContext(Message message) {
          MessageBodyWriter<OutboundSseEvent> writer = new OutboundSseEventBodyWriter(ServerProviderFactory.getInstance(message), message.getExchange());
          LibertySseEventSinkImpl impl = new LibertySseEventSinkImpl(writer, message);
          message.put(SseEventSink.class.getName(), impl);
          
          // treat SSE methods like async methods
          AsyncResponseImpl ar = new AsyncResponseImpl(message);
          message.put(AsyncResponseImpl.class.getName(), ar);
          
          return impl;
      }
docs: /* (non-Javadoc)
  @see org.apache.cxf.jaxrs.ext.ContextProvider#createContext(org.apache.cxf.message.Message)