xternal=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;data)</pre>
<div class="block">Create new <a href="OutboundSseEvent.html" title="interface in jakarta.ws.rs.sse"><code>OutboundSseEvent</code></a> from provided data.
 <p>
 The data can be string only and must not be null.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>data</code> - event data.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>created <code>OutboundSseEvent</code>.