1 package com.mockobjects.apache.commons.httpclient; 2 3 import com.mockobjects.*; 4 import com.mockobjects.util.*; 5 import org.apache.commons.httpclient.HttpState; 6 7 public class MockHttpState extends HttpState implements Verifiable { 8 9 public void addCookie(org.apache.commons.httpclient.Cookie cookie){ 10 } 11 12 public void addCookies(org.apache.commons.httpclient.Cookie[] cookie){ 13 } 14 15 public org.apache.commons.httpclient.Cookie getCookies()[]{ 16 return null; 17 } 18 19 public org.apache.commons.httpclient.Cookie getCookies(String s1, int i1, String s2, boolean b1, java.util.Date d1)[]{ 20 return null; 21 } 22 23 public boolean purgeExpiredCookies(){ 24 return false; 25 } 26 27 public boolean purgeExpiredCookies(java.util.Date date){ 28 return false; 29 } 30 31 public void setCredentials(String string, org.apache.commons.httpclient.Credentials credentials){ 32 } 33 34 public org.apache.commons.httpclient.Credentials getCredentials(String 35 string){ 36 return null; 37 } 38 39 public void verify(){ 40 Verifier.verifyObject(this); 41 } 42 43 } 44 | Popular Tags |