public class JettySse
extends org.jooby.Sse
| Constructor and Description |
|---|
JettySse(org.eclipse.jetty.server.Request request,
org.eclipse.jetty.server.Response rsp) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeInternal() |
protected void |
handshake(Runnable handler) |
protected javaslang.concurrent.Promise<Optional<Object>> |
send(Optional<Object> id,
byte[] data) |
protected boolean |
shouldClose(Throwable ex) |
public JettySse(org.eclipse.jetty.server.Request request,
org.eclipse.jetty.server.Response rsp)
protected void closeInternal()
closeInternal in class org.jooby.Sseprotected void handshake(Runnable handler) throws Exception
handshake in class org.jooby.SseExceptionprotected javaslang.concurrent.Promise<Optional<Object>> send(Optional<Object> id, byte[] data)
send in class org.jooby.Sseprotected boolean shouldClose(Throwable ex)
shouldClose in class org.jooby.SseCopyright © 2017. All rights reserved.