Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.mockobjects.apache.commons.httpclient
Class MockGetMethod  view MockGetMethod download MockGetMethod.java

java.lang.Object
  extended byorg.apache.commons.httpclient.HttpMethodBase
      extended byorg.apache.commons.httpclient.methods.GetMethod
          extended bycom.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


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