}
if (server != null) {
Service[] findServices = server.findServices();
for (Service service : findServices) {
for (Connector connector : service.findConnectors()) {
ProtocolHandler protocolHandler = connector.getProtocolHandler();
if(protocol != null && protocol.equals(connector.getScheme())){
if (protocolHandler instanceof Http11Protocol
|| protocolHandler instanceof Http11AprProtocol
|| protocolHandler instanceof Http11NioProtocol) {
Http11Protocol p = (Http11Protocol) protocolHandler;