|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.meterware.httpunit.protocol.MessageBody
com.meterware.httpunit.MessageBodyWebRequest.InputStreamMessageBody
public static class MessageBodyWebRequest.InputStreamMessageBody
A method request message body read directly from an input stream.
Constructor Summary | |
---|---|
MessageBodyWebRequest.InputStreamMessageBody(java.io.InputStream source,
java.lang.String contentType)
|
Method Summary | |
---|---|
java.lang.String |
getContentType()
Returns the content type of this message body. |
void |
writeTo(java.io.OutputStream outputStream,
ParameterCollection parameters)
Transmits the body of this request as a sequence of bytes. |
Methods inherited from class com.meterware.httpunit.protocol.MessageBody |
---|
createPostMethodMessageBody, getCharacterSet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageBodyWebRequest.InputStreamMessageBody(java.io.InputStream source, java.lang.String contentType)
Method Detail |
---|
public java.lang.String getContentType()
getContentType
in class MessageBody
public void writeTo(java.io.OutputStream outputStream, ParameterCollection parameters) throws java.io.IOException
writeTo
in class MessageBody
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |