/** * Return a builder for a {@code SseEvent}, populated with the give {@linkplain #data() data}. * @param <T> the type of data that this event contains * @return the builder */ public static <T> Builder<T> builder(T data) { return new BuilderImpl<>(data); }
/** * Return a builder for a {@code SseEvent}. * @param <T> the type of data that this event contains * @return the builder */ public static <T> Builder<T> builder() { return new BuilderImpl<>(); }
/** * Return a builder for a {@code SseEvent}. * @param <T> the type of data that this event contains * @return the builder */ public static <T> Builder<T> builder() { return new BuilderImpl<>(); }
/** * Return a builder for a {@code SseEvent}, populated with the give {@linkplain #data() data}. * @param <T> the type of data that this event contains * @return the builder */ public static <T> Builder<T> builder(T data) { return new BuilderImpl<>(data); }
/** * Return a builder for a {@code SseEvent}. * @param <T> the type of data that this event contains * @return the builder */ public static <T> Builder<T> builder() { return new BuilderImpl<>(); }
/** * Return a builder for a {@code SseEvent}, populated with the give {@linkplain #data() data}. * @param <T> the type of data that this event contains * @return the builder */ public static <T> Builder<T> builder(T data) { return new BuilderImpl<>(data); }
/** * Return a builder for a {@code SseEvent}. * @param <T> the type of data that this event contains * @return the builder */ public static <T> Builder<T> builder() { return new BuilderImpl<>(); }
/** * Return a builder for a {@code SseEvent}, populated with the give {@linkplain #data() data}. * @param <T> the type of data that this event contains * @return the builder */ public static <T> Builder<T> builder(T data) { return new BuilderImpl<>(data); }