1 16 17 package org.apache.commons.latka.http; 18 19 import java.net.URL ; 20 21 30 public interface Session { 31 32 46 Request createRequest(URL url, int httpMethod, String version); 47 48 64 Request createRequest(String label, URL url, int httpMethod, 65 String version, boolean followRedirects); 66 67 83 Request createRequest(URL url, int httpMethod, Proxy proxy, String version); 84 85 103 Request createRequest(String label, URL url, int httpMethod, 104 String version, boolean followRedirects, Proxy proxy); 105 106 115 void addCookie(String domain, String path, 116 String name, String value); 117 118 125 String getCookieValue(String name); 126 127 } 128 | Popular Tags |