lucee.Componentcfboom.lang.Object
cfboom.http.HttpHeaders
Constructor Summary | |
---|---|
init()
|
Method Summary | |
---|---|
numeric
|
getContentLength()
Return the length of the body in bytes, as specified by the. |
string
|
getFirst(string headerName)
Return the first header value for the given header name, if any. |
void
|
set(string headerName, string headerValue)
Set the given, single header value under the given name. |
void
|
setContentLength(numeric contentLength)
Set the length of the body in bytes, as specified by the. |
Methods inherited from class cfboom.lang.Object |
---|
$equals, getComponentName, getIdentityHashCode, getIdentityString, getMeta, hashCode, toString |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Method Detail |
---|
Return the length of the body in bytes, as specified by the {@code Content-Length} header.
Returns -1 when the content-length is unknown.
Return the first header value for the given header name, if any.
headerName
Set the given, single header value under the given name.
headerName
headerValue
Set the length of the body in bytes, as specified by the {@code Content-Length} header.
contentLength