public void setSubProtocols ( String [ ] subProtocols ) { if ( subProtocols == null || subProtocols . length == 0 ) { this . subProtocols = null ; return ; } this . subProtocols = Arrays . asList ( subProtocols ) ; }
Add sub protocols .