org.apache.tomcat.util.test
Class Body
java.lang.Object
org.apache.tomcat.util.test.Body
- public class Body
- extends java.lang.Object
Part of GTest. Simple representation of a request/response body.
The only trick is addText - it allows to use it in ant in a nice way.
Constructor Summary |
Body()
|
Body(java.lang.String s)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Body
public Body()
Body
public Body(java.lang.String s)
addText
public void addText(java.lang.String s)
setBody
public void setBody(java.lang.String s)
getBody
public java.lang.String getBody()
getText
public java.lang.String getText()
execute
public void execute()
Copyright ? 2001 Apache Software Foundation. All Rights Reserved.