Lines Matching refs:host
64 * Does a number of HTTPS requests on some host and consumes the response.
69 * @param host The host name the request is being sent to.
78 private void fetch(SSLSocketFactory socketFactory, String host, int port,
81 InetSocketAddress address = new InetSocketAddress(host, port);
84 // Connect to the remote host
102 "GET https://" + host + path + " HTTP/1.1");
105 writer.println("GET https://" + host + path + " HTTP/1.1\r");
106 writer.println("Host: " + host + "\r");
180 private void fetch(String host, int port, boolean secure, String path,
183 fetch(clientFactory, host, port, secure, path, outerLoop, innerLoop,
247 * Expectation is that the host closes the connection.
269 * that the host closes the connection.
289 * that the host closes the connection.
985 public byte[] getSessionData(String host, int port) {
986 ops.add("get " + host);
987 return sessions.get(host);
991 String host = session.getPeerHost();
993 ops.add("put " + host);
994 sessions.put(host, sessionData);
1073 public byte[] getSessionData(String host, int port) {
1074 byte[] sessionData = delegate.getSessionData(host, port);
1076 + " get " + host);