Lines Matching refs:port
229 // Let's check the authorize port list if it exists
232 int port = uri.getPort();
233 if (port == -1) {
234 port = "https".equals(uri.getScheme()) ? 443 : 80;
236 if (isInPortList(ports, port)) {
317 int port = uri.getPort();
318 if (port == -1) {
319 port = "https".equals(uri.getScheme()) ? 443 : 80;
322 // Empty port list means this should be restricted
323 // to the incoming URI port
324 cookie.setPortlist("" + port );
329 // Only store cookies with a port list
330 // IF the URI port is in that list, as per
332 if (isInPortList(ports, port) &&
364 static private boolean isInPortList(String lst, int port) {
370 if (val == port) {
381 if (val == port) {