|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.connection.ConnectionController
com.caucho.server.connection.HttpConnectionController
public class HttpConnectionController
Public API to control a comet connection.
| Constructor Summary | |
|---|---|
HttpConnectionController(AbstractHttpRequest request)
|
|
HttpConnectionController(ServletRequest request)
|
|
| Method Summary | |
|---|---|
void |
close()
Closes the connection. |
java.lang.Object |
getAttribute(java.lang.String name)
Gets a request attribute. |
long |
getMaxIdleTime()
Gets the max idle time. |
void |
removeAttribute(java.lang.String name)
Remove a request attribute. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Sets a request attribute. |
void |
setMaxIdleTime(long idleTime)
Sets the max idle time. |
java.lang.String |
toString()
|
| Methods inherited from class com.caucho.server.connection.ConnectionController |
|---|
getConnection, isActive, isClosed, isTimeout, timeout, wake |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.caucho.servlet.comet.CometController |
|---|
isClosed, wake |
| Constructor Detail |
|---|
public HttpConnectionController(ServletRequest request)
public HttpConnectionController(AbstractHttpRequest request)
| Method Detail |
|---|
public void setMaxIdleTime(long idleTime)
setMaxIdleTime in interface CometControllerpublic long getMaxIdleTime()
getMaxIdleTime in interface CometControllerpublic java.lang.Object getAttribute(java.lang.String name)
getAttribute in interface CometController
public void setAttribute(java.lang.String name,
java.lang.Object value)
setAttribute in interface CometControllerpublic void removeAttribute(java.lang.String name)
removeAttribute in interface CometControllerpublic void close()
close in interface CometControllerclose in class ConnectionControllerpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||