MetaData.Request

Undocumented in source.

Constructors

this
this(HttpFields fields)
Undocumented in source.
this
this(string method, HttpURI uri, HttpVersion ver, HttpFields fields, long contentLength)
Undocumented in source.
this
this(string method, string scheme, HostPortHttpField hostPort, string uri, HttpVersion ver, HttpFields fields, long contentLength)
Undocumented in source.
this
this(Request request)
Undocumented in source.

Members

Functions

getAttachment
Object getAttachment()
Undocumented in source. Be warned that the author may not have intended to support it.
getMethod
string getMethod()

@return the HTTP method

getURI
HttpURI getURI()

@return the HTTP URI

getURIString
string getURIString()

@return the HTTP URI in string form

isRequest
bool isRequest()
Undocumented in source. Be warned that the author may not have intended to support it.
recycle
void recycle()
Undocumented in source. Be warned that the author may not have intended to support it.
setAttachment
void setAttachment(Object attachment)
Undocumented in source. Be warned that the author may not have intended to support it.
setMethod
void setMethod(string method)

@param method the HTTP method to set

setURI
void setURI(HttpURI uri)

@param uri the HTTP URI to set

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

Inherited Members

From MetaData

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.
isResponse
bool isResponse()
Undocumented in source. Be warned that the author may not have intended to support it.
getHttpVersion
HttpVersion getHttpVersion()

@return the HTTP version of this MetaData object

setHttpVersion
void setHttpVersion(HttpVersion httpVersion)

@param httpVersion the HTTP version to set

getFields
HttpFields getFields()

@return the HTTP fields of this MetaData object

getTrailerSupplier
Supplier!HttpFields getTrailerSupplier()
Undocumented in source. Be warned that the author may not have intended to support it.
setTrailerSupplier
void setTrailerSupplier(Supplier!HttpFields trailers)
Undocumented in source. Be warned that the author may not have intended to support it.
getContentLength
long getContentLength()

@return the content length if available, otherwise {@link Long#MIN_VALUE}

iterator
InputRange!HttpField iterator()

@return an iterator over the HTTP fields @see #getFields()

opApply
int opApply(int delegate(ref HttpField) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
Request
class Request
Undocumented in source.
Response
class Response
Undocumented in source.

Meta