org.webbitserver.HttpControl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of webbit Show documentation
Show all versions of webbit Show documentation
A Java event based WebSocket and HTTP server
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();
}