Adds a list of protocols @param prots @return @since 2.11
(Protocol ... prots)
| 481 | * @since 2.11 |
| 482 | */ |
| 483 | public ProtocolStack addProtocols(Protocol ... prots) { |
| 484 | if(prots != null) { |
| 485 | for(Protocol prot: prots) |
| 486 | addProtocol(prot); |
| 487 | } |
| 488 | return this; |
| 489 | } |
| 490 | |
| 491 | /** |
| 492 | * Adds a list of protocols |