@Test public void testWebSocketProtocol() { validateProtocol("ws: }
protected static void validateProtocol(final String controllerURL){ if(controllerURL.startsWith("ws:") == false){ throw new RuntimeException("Invalid protocol for connecting with remote standalone controller, only Web Socket connections are supported"); } }
KieServerStandaloneControllerProducer { protected static void validateProtocol(final String controllerURL){ if(controllerURL.startsWith("ws:") == false){ throw new RuntimeException("Invalid protocol for connecting with remote standalone controller, only Web Socket connections are supported"); } } }
KieServerStandaloneControllerProducer { protected static void validateProtocol(final String controllerURL){ if(controllerURL.startsWith("ws:") == false){ throw new RuntimeException("Invalid protocol for connecting with remote standalone controller, only Web Socket connections are supported"); } }  }
KieServerStandaloneControllerProducer { protected static void validateProtocol(final String controllerURL){ if(controllerURL.startsWith("ws:") == false){ throw new RuntimeException("Invalid protocol for connecting with remote standalone controller, only Web Socket connections are supported"); } }  @Produces @ApplicationScoped @StandaloneController KieServerControllerClient produceKieServerControllerClient(final @StandaloneController EventHandler handler); }
KieServerStandaloneControllerProducer { protected static void validateProtocol(final String controllerURL){ if(controllerURL.startsWith("ws:") == false){ throw new RuntimeException("Invalid protocol for connecting with remote standalone controller, only Web Socket connections are supported"); } }  @Produces @ApplicationScoped @StandaloneController KieServerControllerClient produceKieServerControllerClient(final @StandaloneController EventHandler handler);  }