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

org.webbitserver.EventSourceConnection Maven / Gradle / Ivy

There is a newer version: 0.4.15
Show newest version
package org.webbitserver;

import org.webbitserver.netty.contrib.EventSourceMessage;

import java.util.concurrent.Executor;

public interface EventSourceConnection extends Executor, DataHolder {
    HttpRequest httpRequest();

    EventSourceConnection send(EventSourceMessage message);

    /**
     * @see #send(org.webbitserver.netty.contrib.EventSourceMessage) 
     */
    @Deprecated
    EventSourceConnection send(String message);

    EventSourceConnection close();

    @Override
    EventSourceConnection data(String key, Object value); // Override DataHolder to provide more specific return type.

    Executor handlerExecutor();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy