1 30 31 package org.apache.commons.httpclient.cookie; 32 33 import java.util.Collection ; 34 35 import org.apache.commons.httpclient.Cookie; 36 import org.apache.commons.httpclient.Header; 37 import org.apache.commons.httpclient.NameValuePair; 38 39 45 public class IgnoreCookiesSpec implements CookieSpec { 46 47 50 public IgnoreCookiesSpec() { 51 super(); 52 } 53 54 57 public Cookie[] parse(String host, int port, String path, boolean secure, String header) 58 throws MalformedCookieException { 59 return new Cookie[0]; 60 } 61 62 65 public Collection getValidDateFormats() { 66 return null; 67 } 68 69 72 public void setValidDateFormats(Collection datepatterns) { 73 } 74 75 78 public String formatCookie(Cookie cookie) { 79 return null; 80 } 81 82 85 public Header formatCookieHeader(Cookie cookie) throws IllegalArgumentException { 86 return null; 87 } 88 89 92 public Header formatCookieHeader(Cookie[] cookies) throws IllegalArgumentException { 93 return null; 94 } 95 96 99 public String formatCookies(Cookie[] cookies) throws IllegalArgumentException { 100 return null; 101 } 102 103 106 public boolean match(String host, int port, String path, boolean secure, Cookie cookie) { 107 return false; 108 } 109 110 113 public Cookie[] match(String host, int port, String path, boolean secure, Cookie[] cookies) { 114 return new Cookie[0]; 115 } 116 117 120 public Cookie[] parse(String host, int port, String path, boolean secure, Header header) 121 throws MalformedCookieException, IllegalArgumentException { 122 return new Cookie[0]; 123 } 124 125 128 public void parseAttribute(NameValuePair attribute, Cookie cookie) 129 throws MalformedCookieException, IllegalArgumentException { 130 } 131 132 135 public void validate(String host, int port, String path, boolean secure, Cookie cookie) 136 throws MalformedCookieException, IllegalArgumentException { 137 } 138 139 142 public boolean domainMatch(final String host, final String domain) { 143 return false; 144 } 145 146 149 public boolean pathMatch(final String path, final String topmostPath) { 150 return false; 151 } 152 153 } 154 | Popular Tags |