/** @hide */ public int getEffectivePort() { return getEffectivePort(scheme, port); }
/** @hide */ public int getEffectivePort() { return URI.getEffectivePort(protocol, port); }
/** * Returns true if {@code cookie} should be sent to {@code uri} with respect to the cookie's * port list. */ static boolean portMatches(HttpCookie cookie, URI uri) { if (cookie.getPortlist() == null) { return true; } return Arrays.asList(cookie.getPortlist().split(",")) .contains(Integer.toString(uri.getEffectivePort())); }
cookie.setPortlist(Integer.toString(uri.getEffectivePort())); } else if (cookie.getPortlist() != null && !HttpCookie.portMatches(cookie, uri)) { continue;
/** @hide */ public int getEffectivePort() { return getEffectivePort(scheme, port); }
/** @hide */ public int getEffectivePort() { return URI.getEffectivePort(protocol, port); }
/** @hide */ public int getEffectivePort() { return getEffectivePort(scheme, port); }
/** @hide */ public int getEffectivePort() { return getEffectivePort(scheme, port); }
/** @hide */ public int getEffectivePort() { return getEffectivePort(scheme, port); }
/** @hide */ public int getEffectivePort() { return URI.getEffectivePort(protocol, port); }
/** @hide */ public int getEffectivePort() { return URI.getEffectivePort(protocol, port); }
/** @hide */ public int getEffectivePort() { return URI.getEffectivePort(protocol, port); }
/** @hide */ public int getEffectivePort() { return URI.getEffectivePort(protocol, port); }
/** @hide */ public int getEffectivePort() { return getEffectivePort(scheme, port); }
/** * Returns true if {@code cookie} should be sent to {@code uri} with respect to the cookie's * port list. */ static boolean portMatches(HttpCookie cookie, URI uri) { if (cookie.getPortlist() == null) { return true; } return Arrays.asList(cookie.getPortlist().split(",")) .contains(Integer.toString(uri.getEffectivePort())); }
/** * Returns true if {@code cookie} should be sent to {@code uri} with respect to the cookie's * port list. */ static boolean portMatches(HttpCookie cookie, URI uri) { if (cookie.getPortlist() == null) { return true; } return Arrays.asList(cookie.getPortlist().split(",")) .contains(Integer.toString(uri.getEffectivePort())); }
/** * Returns true if {@code cookie} should be sent to {@code uri} with respect to the cookie's * port list. */ static boolean portMatches(HttpCookie cookie, URI uri) { if (cookie.getPortlist() == null) { return true; } return Arrays.asList(cookie.getPortlist().split(",")) .contains(Integer.toString(uri.getEffectivePort())); }
/** * Returns true if {@code cookie} should be sent to {@code uri} with respect to the cookie's * port list. */ static boolean portMatches(HttpCookie cookie, URI uri) { if (cookie.getPortlist() == null) { return true; } return Arrays.asList(cookie.getPortlist().split(",")) .contains(Integer.toString(uri.getEffectivePort())); }
/** * Returns true if {@code cookie} should be sent to {@code uri} with respect to the cookie's * port list. */ static boolean portMatches(HttpCookie cookie, URI uri) { if (cookie.getPortlist() == null) { return true; } return Arrays.asList(cookie.getPortlist().split(",")) .contains(Integer.toString(uri.getEffectivePort())); }
/** * Returns true if {@code cookie} should be sent to {@code uri} with respect to the cookie's * port list. */ static boolean portMatches(HttpCookie cookie, URI uri) { if (cookie.getPortlist() == null) { return true; } return Arrays.asList(cookie.getPortlist().split(",")) .contains(Integer.toString(uri.getEffectivePort())); }