HttpClientConnection

Undocumented in source.

Members

Functions

getHttpOutputStream
HttpOutputStream getHttpOutputStream(HttpRequest request, ClientHttpHandler handler)
Undocumented in source.
send
void send(HttpRequest request, Promise!(HttpOutputStream) promise, ClientHttpHandler handler)
Undocumented in source.
send
void send(HttpRequest request, ClientHttpHandler handler)
Undocumented in source.
send
void send(HttpRequest request, ByteBuffer buffer, ClientHttpHandler handler)
Undocumented in source.
send
void send(HttpRequest request, ByteBuffer[] buffers, ClientHttpHandler handler)
Undocumented in source.
sendRequestWithContinuation
HttpOutputStream sendRequestWithContinuation(HttpRequest request, ClientHttpHandler handler)
Undocumented in source.
upgradeHttp2
void upgradeHttp2(HttpRequest request, SettingsFrame settings, Promise!(HttpClientConnection) promise, ClientHttpHandler upgradeHandler, ClientHttpHandler http2ResponseHandler)
Undocumented in source.
upgradeWebSocket
void upgradeWebSocket(HttpRequest request, WebSocketPolicy policy, Promise!(WebSocketConnection) promise, ClientHttpHandler upgradeHandler, IncomingFrames incomingFrames)
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