Package | Description |
---|---|
org.jooby |
Modifier and Type | Method and Description |
---|---|
Sse |
Sse.keepAlive(int time,
TimeUnit unit)
The keep alive time can be used to prevent connections from timing out:
|
Sse |
Sse.keepAlive(long millis)
The keep alive time can be used to prevent connections from timing out:
|
Sse |
Sse.onClose(javaslang.control.Try.CheckedRunnable task)
Listen for connection close (usually client drop the connection).
|
Modifier and Type | Method and Description |
---|---|
void |
Sse.Handler.handle(Request req,
Sse sse)
Event handler.
|
default void |
Sse.Handler1.handle(Request req,
Sse sse) |
void |
Sse.Handler1.handle(Sse sse) |
Copyright © 2017. All rights reserved.