|
|||||||||
| Home >> All >> com >> meterware >> [ httpunit overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.meterware.httpunit
Class MessageBody

java.lang.Objectcom.meterware.httpunit.MessageBody
- Direct Known Subclasses:
- MessageBodyWebRequest.InputStreamMessageBody, MimeEncodedMessageBody, URLEncodedMessageBody
- abstract class MessageBody
- extends java.lang.Object
An abstract class representing the body of a web request.
| Field Summary | |
private MessageBodyWebRequest |
_request
|
| Constructor Summary | |
(package private) |
MessageBody(MessageBodyWebRequest request)
|
| Method Summary | |
(package private) abstract java.lang.String |
getContentType()
Returns the content type of this message body. |
protected MessageBodyWebRequest |
getRequest()
|
(package private) abstract void |
writeTo(java.io.OutputStream outputStream)
Transmits the body of this request as a sequence of bytes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
_request
private MessageBodyWebRequest _request
| Constructor Detail |
MessageBody
MessageBody(MessageBodyWebRequest request)
| Method Detail |
getContentType
abstract java.lang.String getContentType()
- Returns the content type of this message body. For text messages, this
should include the character set.
writeTo
abstract void writeTo(java.io.OutputStream outputStream) throws java.io.IOException
- Transmits the body of this request as a sequence of bytes.
getRequest
protected MessageBodyWebRequest getRequest()
|
|||||||||
| Home >> All >> com >> meterware >> [ httpunit overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.meterware.httpunit.MessageBody