public void setTransports ( Transport ... transports ) { if ( transports . length == 0 ) { throw new IllegalArgumentException ( "Transports list can't be empty" ) ; } this . transports = Arrays . asList ( transports ) ; }
Transports supported by server