AbstractHttpConnection

Constructors

this
this(Connection tcpSession, HttpVersion httpVersion)
Undocumented in source.

Members

Functions

close
void close()
containsAttribute
bool containsAttribute(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
getAttribute
Object getAttribute(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
getConnectionType
HttpConnectionType getConnectionType()
Undocumented in source.
getHttpVersion
HttpVersion getHttpVersion()
Undocumented in source. Be warned that the author may not have intended to support it.
getId
int getId()
Undocumented in source. Be warned that the author may not have intended to support it.
getLocalAddress
Address getLocalAddress()
Undocumented in source. Be warned that the author may not have intended to support it.
getRemoteAddress
Address getRemoteAddress()
Undocumented in source. Be warned that the author may not have intended to support it.
getTcpConnection
Connection getTcpConnection()
Undocumented in source. Be warned that the author may not have intended to support it.
isSecured
bool isSecured()
Undocumented in source. Be warned that the author may not have intended to support it.
notifyClose
void notifyClose()
Undocumented in source. Be warned that the author may not have intended to support it.
notifyException
void notifyException(Exception t)
Undocumented in source. Be warned that the author may not have intended to support it.
onClose
HttpConnection onClose(Action1!HttpConnection handler)
Undocumented in source. Be warned that the author may not have intended to support it.
onException
HttpConnection onException(Action2!(HttpConnection, Exception) handler)
Undocumented in source. Be warned that the author may not have intended to support it.
removeAttribute
Object removeAttribute(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
setAttribute
void setAttribute(string key, Object value)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_closeHandler
Action1!HttpConnection _closeHandler;
Undocumented in source.
_exceptionHandler
Action2!(HttpConnection, Exception) _exceptionHandler;
Undocumented in source.
_httpVersion
HttpVersion _httpVersion;
Undocumented in source.
_tcpSession
Connection _tcpSession;
Undocumented in source.
executor
ScheduledThreadPoolExecutor executor;
Undocumented in source.

Inherited Members

From HttpConnection

NAME
enum string NAME;
Undocumented in source.
getId
int getId()
Undocumented in source.
getTcpConnection
Connection getTcpConnection()
Undocumented in source.
getHttpVersion
HttpVersion getHttpVersion()
Undocumented in source.
getLocalAddress
Address getLocalAddress()
Undocumented in source.
getRemoteAddress
Address getRemoteAddress()
Undocumented in source.
onClose
HttpConnection onClose(Action1!(HttpConnection) handler)
Undocumented in source.
onException
HttpConnection onException(Action2!(HttpConnection, Exception) handler)
Undocumented in source.
getAttribute
Object getAttribute(string key)

Returns the value of the user-defined attribute of this connection.

setAttribute
void setAttribute(string key, Object value)

Sets a user-defined attribute.

removeAttribute
Object removeAttribute(string key)

Removes a user-defined attribute with the specified key.

containsAttribute
bool containsAttribute(string key)

@param key The key of the attribute we are looking for in the connection @return <tt>true</tt> if this connection contains the attribute with the specified <tt>key</tt>.

Meta