Modifier and Type | Field and Description |
---|---|
static ThreadLocal<Http.Outbound> |
current |
Constructor and Description |
---|
Outbound() |
Modifier and Type | Method and Description |
---|---|
abstract void |
close() |
static Http.Outbound |
current() |
abstract boolean |
isOpen() |
void |
send(byte opcode,
byte[] data) |
abstract void |
send(byte opcode,
byte[] data,
int offset,
int length) |
abstract void |
send(String data) |
void |
send(String pattern,
Object... args) |
void |
sendJson(Object o) |
public static final ThreadLocal<Http.Outbound> current
public static Http.Outbound current()
public abstract void send(String data)
public abstract void send(byte opcode, byte[] data, int offset, int length)
public abstract boolean isOpen()
public abstract void close()
public void send(byte opcode, byte[] data)
public void sendJson(Object o)
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly