jimma
jimma
I saw we added javadoc to mention the GenericEntity for a List of EntityPart: the https://github.com/eclipse-ee4j/jaxrs-api/blob/master/jaxrs-api/src/main/java/jakarta/ws/rs/core/EntityPart.java#L45, and is it better we define a MultiPartEntity like for a strong type ?...
At the moment there is no api to get the object which is added to the EntityPart to serialize the entity to output stream. It also needs getType() and getGenericType()...
SseBroadcaster.onClose() has this description: ``` /** * Register a listener, which will be called when the SSE event output has been closed (either by client closing the * connection or...
We can set the Sse event media type with jaxrs api like: ``` OutboundSseEvent event = sse.newEventBuilder().name("json") .data("{\"a\":\"b\",\"c\":\"d\") .mediaType(MediaType.APPLICATION_JSON_TYPE).build(); ``` But this setting isn't write and send to client like...