All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.resteasy.reactive.client.SseEvent Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
package org.jboss.resteasy.reactive.client;

/**
 * Represents the entire SSE response from the server
 */
public interface SseEvent {

    /**
     * Get event identifier.
     * 

* Contains value of SSE {@code "id"} field. This field is optional. Method may return {@code null}, if the event * identifier is not specified. * * @return event id. */ String id(); /** * Get event name. *

* Contains value of SSE {@code "event"} field. This field is optional. Method may return {@code null}, if the event * name is not specified. * * @return event name, or {@code null} if not set. */ String name(); /** * Get a comment string that accompanies the event. *

* Contains value of the comment associated with SSE event. This field is optional. Method may return {@code null}, if * the event comment is not specified. * * @return comment associated with the event. */ String comment(); /** * Get event data. */ T data(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy