ss="blockList">
<h4>readData</h4>
<pre>&lt;T&gt;&nbsp;T&nbsp;readData(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;messageType,
               <a href="../../../../jakarta/ws/rs/core/MediaType.html" title="class in jakarta.ws.rs.core">MediaType</a>&nbsp;mediaType)</pre>
<div class="block">Read event data as a given Java type.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><c