comparison src/org/eclipse/jetty/server/Connector.java @ 900:6ffa88e38ba9

remove Connector.setName()
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 07 Oct 2016 00:15:04 -0600
parents 3abf945c33e3
children d9a12a7339a6
comparison
equal deleted inserted replaced
899:3abf945c33e3 900:6ffa88e38ba9
506 } 506 }
507 } 507 }
508 } 508 }
509 } 509 }
510 510
511 /* ------------------------------------------------------------ */
512 public String getName() 511 public String getName()
513 { 512 {
514 if (_name == null) 513 if (_name == null)
515 _name = (getHost() == null?"0.0.0.0":getHost()) + ":" + (getLocalPort() <= 0?port:getLocalPort()); 514 _name = (getHost() == null?"0.0.0.0":getHost()) + ":" + (getLocalPort() <= 0?port:getLocalPort());
516 return _name; 515 return _name;
517 }
518
519 /* ------------------------------------------------------------ */
520 public void setName(String name)
521 {
522 _name = name;
523 } 516 }
524 517
525 /* ------------------------------------------------------------ */ 518 /* ------------------------------------------------------------ */
526 protected void connectionOpened(Connection connection) 519 protected void connectionOpened(Connection connection)
527 { 520 {