|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DuplexContext
Bidirectional TCP connection based on a HTTP upgrade, e.g. WebSocket. The context and its values are not thread safe. The DuplexListener thread normally is the only thread reading from the input stream.
Method Summary | |
---|---|
void |
complete()
Complete and close the connection. |
ServletRequest |
getRequest()
Returns the original servlet request. |
ServletResponse |
getResponse()
Returns the original servlet response. |
long |
getTimeout()
Gets the read timeout. |
void |
setTimeout(long timeout)
Sets the read timeout. |
Method Detail |
---|
ServletRequest getRequest()
ServletResponse getResponse()
void setTimeout(long timeout)
long getTimeout()
void complete()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |