|
|||||||||
| Home >> All >> com >> mockobjects >> apache >> commons >> [ httpclient overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.mockobjects.apache.commons.httpclient
Class MockGetMethod

java.lang.Objectorg.apache.commons.httpclient.HttpMethodBase
org.apache.commons.httpclient.methods.GetMethod
com.mockobjects.apache.commons.httpclient.MockGetMethod
- All Implemented Interfaces:
- org.apache.commons.httpclient.HttpMethod, com.mockobjects.Verifiable
- public class MockGetMethod
- extends org.apache.commons.httpclient.methods.GetMethod
- implements com.mockobjects.Verifiable
- extends org.apache.commons.httpclient.methods.GetMethod
| Field Summary | |
private MockMethodHelper |
helper
|
private com.mockobjects.ExpectationValue |
myFollowRedirects
|
private com.mockobjects.ExpectationSet |
myPairs
|
private com.mockobjects.ExpectationValue |
myPath
|
private java.lang.String |
myResponseBody
|
private com.mockobjects.ReturnObjectList |
myStatusCodes
|
private java.lang.String |
myStatusText
|
| Fields inherited from class org.apache.commons.httpclient.methods.GetMethod |
|
| Fields inherited from class org.apache.commons.httpclient.HttpMethodBase |
|
| Constructor Summary | |
MockGetMethod()
|
|
| Method Summary | |
void |
addExpectedQueryString(org.apache.commons.httpclient.NameValuePair aPair)
|
void |
addGetResponseHeader(java.lang.String key,
org.apache.commons.httpclient.Header header)
|
void |
addGetStatusCode(int aStatusCode)
|
void |
addRequestHeader(org.apache.commons.httpclient.Header header)
Adds the specified request header, NOT overwriting any previous value. |
void |
addRequestHeader(java.lang.String s,
java.lang.String s1)
Adds the specified request header, NOT overwriting any previous value. |
int |
execute(org.apache.commons.httpclient.HttpState state,
org.apache.commons.httpclient.HttpConnection connection)
Executes this method using the specified HttpConnection and
HttpState. |
java.io.File |
getFileData()
|
boolean |
getFollowRedirects()
Returns true if the HTTP method should automatically follow HTTP redirects (status code 302, etc.), false otherwise. |
java.lang.String |
getName()
Returns "GET". |
java.lang.String |
|
JAVADOC