|
|||||||||
| 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 PutMethodWebRequest

java.lang.Objectcom.meterware.httpunit.WebRequest
com.meterware.httpunit.MessageBodyWebRequest
com.meterware.httpunit.PutMethodWebRequest
- public class PutMethodWebRequest
- extends MessageBodyWebRequest
A web request using the PUT protocol. The objectives of this class are to suport an HTTP PUT petition so we can test this HTTP requests. Documentation See the HTTP 1.1 [spec]
| Nested Class Summary |
| Nested classes inherited from class com.meterware.httpunit.MessageBodyWebRequest |
MessageBodyWebRequest.InputStreamMessageBody |
| Field Summary | |
private MessageBody |
_body
|
| Fields inherited from class com.meterware.httpunit.WebRequest |
NEW_WINDOW, PARENT_FRAME, REFERER_HEADER_NAME, SAME_FRAME, TOP_FRAME |
| Constructor Summary | |
PutMethodWebRequest(java.lang.String url,
java.io.InputStream source,
java.lang.String contentType)
Constructs a web request using a specific absolute url string and input stream. |
|
| Method Summary | |
protected MessageBody |
getMessageBody()
Returns a message body based on the input stream. |
java.lang.String |
getMethod()
Returns 'PUT' to indicate the method. |
| Methods inherited from class com.meterware.httpunit.MessageBodyWebRequest |
completeRequest, getContentType, writeMessageBody |
| Methods inherited from class com.meterware.httpunit.WebRequest |
getCharacterSet, getHeaderDictionary, getHeaders, getParameter, getParameterHolder, getParameterValues, getQueryString, getReferer, getRequestParameterNames, getSourceFrame, getTarget, getURL, getURLBase, getURLString, getWebRequestSource, isFileParameter, isMimeEncoded, maySelectFile, newParameterHolder, removeParameter, selectFile, selectFile, selectFile, setHeaderField, setImageButtonClickPosition, setMimeEncoded, setParameter, setParameter, setParameter, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
_body
private MessageBody _body
| Constructor Detail |
PutMethodWebRequest
public PutMethodWebRequest(java.lang.String url, java.io.InputStream source, java.lang.String contentType)
- Constructs a web request using a specific absolute url string and input stream.
| Method Detail |
getMethod
public java.lang.String getMethod()
- Returns 'PUT' to indicate the method.
- Specified by:
getMethodin classWebRequest
getMessageBody
protected MessageBody getMessageBody()
- Returns a message body based on the input stream.
- Specified by:
getMessageBodyin classMessageBodyWebRequest
|
|||||||||
| Home >> All >> com >> meterware >> [ httpunit overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC