|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.webbitserver.wrapper.EventSourceConnectionWrapper
public class EventSourceConnectionWrapper
| Constructor Summary | |
|---|---|
EventSourceConnectionWrapper(EventSourceConnection connection)
|
|
| Method Summary | |
|---|---|
EventSourceConnectionWrapper |
close()
|
Map<String,Object> |
data()
Arbitrary data that can be stored for the lifetime of the connection. |
Object |
data(String key)
Retrieve data value by key. |
EventSourceConnectionWrapper |
data(String key,
Object value)
Store data value by key. |
Set<String> |
dataKeys()
List data keys. |
void |
execute(Runnable command)
|
Executor |
handlerExecutor()
|
HttpRequest |
httpRequest()
|
EventSourceConnection |
originalControl()
|
EventSourceConnectionWrapper |
send(EventSourceMessage message)
|
EventSourceConnection |
underlyingControl()
|
EventSourceConnectionWrapper |
underlyingControl(EventSourceConnection control)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventSourceConnectionWrapper(EventSourceConnection connection)
| Method Detail |
|---|
public EventSourceConnection underlyingControl()
public EventSourceConnectionWrapper underlyingControl(EventSourceConnection control)
public EventSourceConnection originalControl()
public HttpRequest httpRequest()
httpRequest in interface HttpConnectionpublic EventSourceConnectionWrapper send(EventSourceMessage message)
send in interface EventSourceConnectionpublic EventSourceConnectionWrapper close()
close in interface EventSourceConnectionclose in interface HttpConnectionpublic Map<String,Object> data()
DataHolder
data in interface DataHolderpublic Object data(String key)
DataHolder
data in interface DataHolderDataHolder.data()
public EventSourceConnectionWrapper data(String key,
Object value)
DataHolder
data in interface DataHolderdata in interface EventSourceConnectionDataHolder.data()public Set<String> dataKeys()
DataHolder
dataKeys in interface DataHolderDataHolder.data()public Executor handlerExecutor()
handlerExecutor in interface HttpConnectionpublic void execute(Runnable command)
execute in interface Executor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||