HttpClientRequest

Constructors

this
this(string method, string uri)
Undocumented in source.
this
this(string method, string uri, HttpBody content)
Undocumented in source.
this
this(string method, HttpURI uri, HttpFields fields, HttpBody content)
Undocumented in source.
this
this(string method, HttpURI uri, HttpVersion ver, HttpFields fields, HttpBody content)
Undocumented in source.
this
this(HttpRequest request)
Undocumented in source.

Members

Classes

Builder
class Builder

Functions

endTraceSpan
void endTraceSpan(int status, string message)
Undocumented in source. Be warned that the author may not have intended to support it.
getKeyCertOptions
KeyCertOptions getKeyCertOptions()
Undocumented in source. Be warned that the author may not have intended to support it.
isCertificateAuth
void isCertificateAuth(bool flag)
Undocumented in source. Be warned that the author may not have intended to support it.
isCertificateAuth
bool isCertificateAuth()
Undocumented in source. Be warned that the author may not have intended to support it.
isCookieStoreEnabled
bool isCookieStoreEnabled()
Undocumented in source. Be warned that the author may not have intended to support it.
isCookieStoreEnabled
void isCookieStoreEnabled(bool flag)
Undocumented in source. Be warned that the author may not have intended to support it.
isTracingEnabled
bool isTracingEnabled()
Undocumented in source. Be warned that the author may not have intended to support it.
isTracingEnabled
void isTracingEnabled(bool flag)
Undocumented in source. Be warned that the author may not have intended to support it.
newBuilder
RequestBuilder newBuilder()
Undocumented in source. Be warned that the author may not have intended to support it.
setKeyCertOptions
void setKeyCertOptions(KeyCertOptions options)
Undocumented in source. Be warned that the author may not have intended to support it.
startSpan
void startSpan()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_keyCertOptions
KeyCertOptions _keyCertOptions;
Undocumented in source.

Inherited Members

From HttpRequest

recycle
void recycle()
Undocumented in source. Be warned that the author may not have intended to support it.
isRequest
bool isRequest()
Undocumented in source. Be warned that the author may not have intended to support it.
isHttps
bool isHttps()

Checks whether the request is secure or not.

getMethod
string getMethod()

@return the HTTP method

setMethod
void setMethod(string method)

@param method the HTTP method to set

getURI
HttpURI getURI()

@return the HTTP URI

getURIString
string getURIString()

@return the HTTP URI in string form

setURI
void setURI(HttpURI uri)

@param uri the HTTP URI to set

headerExists
bool headerExists(HttpHeader header)
Undocumented in source. Be warned that the author may not have intended to support it.
headerExists
bool headerExists(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
isChunked
bool isChunked()
Undocumented in source. Be warned that the author may not have intended to support it.
getAttachment
deprecated Object getAttachment()
Undocumented in source. Be warned that the author may not have intended to support it.
setAttachment
deprecated void setAttachment(Object attachment)
Undocumented in source. Be warned that the author may not have intended to support it.
getAttribute
Object getAttribute(string key)

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

getAttribute
Object getAttribute(string key, Object defaultValue)

Returns the value of user defined attribute associated with the specified key. If there's no such attribute, the specified default value is associated with the specified key, and the default value is returned. This method is same with the following code except that the operation is performed atomically. <pre> if (containsAttribute(key)) { return getAttribute(key); } else { setAttribute(key, defaultValue); return defaultValue; } </pre>

setAttribute
Object 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>.

getAttributeKeys
string[] getAttributeKeys()

@return the set of keys of all user-defined attributes.

toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
tracer
Tracer tracer;
Undocumented in source.

Meta