|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectthings.thinger.service.httptool.Head
public class Head
The manage the head fields:
Content-Length
Content-MD5
ETag
Last-Modified
Version History
EPG - Initial - 16 NOV 07
Constructor Summary | |
---|---|
Head()
|
Method Summary | |
---|---|
void |
addHeadersToResult(ActionResult result)
Add whichever headers are set to the result. |
java.lang.String |
renderFields()
Render the fields as HTTP headers. |
void |
setContentLength(java.lang.String contentLength)
Set the content length. |
void |
setEtag(java.lang.String etag)
Set the ETag. |
void |
setLastModified(java.lang.String lastModified)
Set the Last-Modified. |
void |
setMd5(java.lang.String md5)
Set the MD3. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Head()
Method Detail |
---|
public void setContentLength(java.lang.String contentLength)
contentLength
- the value of the Content-Length field.public void setMd5(java.lang.String md5)
md5
- the value of the Content-MD5 field.public void setEtag(java.lang.String etag)
etag
- the value of the ETag field.public void setLastModified(java.lang.String lastModified)
lastModified
- the value of the Last-Modified field.public void addHeadersToResult(ActionResult result)
result
- the result.public java.lang.String renderFields()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |