class 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");
        }
    }

}