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

org.webbitserver.HttpControl Maven / Gradle / Ivy

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

import java.util.concurrent.Executor;

public interface HttpControl extends Executor {

    void nextHandler();

    void nextHandler(HttpRequest request, HttpResponse response);

    void nextHandler(HttpRequest request, HttpResponse response, HttpControl control);

    WebSocketConnection upgradeToWebSocketConnection(WebSocketHandler handler);

    WebSocketConnection webSocketConnection();

    EventSourceConnection upgradeToEventSourceConnection(EventSourceHandler handler);

    EventSourceConnection eventSourceConnection();

    Executor handlerExecutor();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy