public DelegateHandler(final Vertx vertx,final HttpClient selfClient,final ResourceStorage storage,final MonitoringHandler monitoringHandler,final String delegatesUri,final Map<String,Object> properties){
  this.vertx=vertx;
  this.selfClient=selfClient;
  this.storage=storage;
  this.delegatesUri=delegatesUri;
  String delegatesSchema=ResourcesUtils.loadResource("gateleen_delegate_schema_delegates",true);
  this.delegateFactory=new DelegateFactory(monitoringHandler,selfClient,properties,delegatesSchema);
  delegateNamePattern=Pattern.compile(delegatesUri + "([^/]+)(/" + DEFINITION_RESOURCE+ "|/"+ EXECUTION_RESOURCE+ ".*"+ "|/?)");
  delegateMap=new HashMap<>();
  initialized=false;
}

public DelegateHandler ( final Vertx vertx , final HttpClient selfClient , final ResourceStorage storage , final MonitoringHandler monitoringHandler , final String delegatesUri , final Map < String , Object > properties ) { this . vertx = vertx ; this . selfClient = selfClient ; this . storage = storage ; this . delegatesUri = delegatesUri ; String delegatesSchema = ResourcesUtils . loadResource ( "gateleen_delegate_schema_delegates" , true ) ; this . delegateFactory = new DelegateFactory ( monitoringHandler , selfClient , properties , delegatesSchema ) ; delegateNamePattern = Pattern . compile ( delegatesUri + "([^/]+)(/" + DEFINITION_RESOURCE + "|/" + EXECUTION_RESOURCE + ".*" + "|/?)" ) ; delegateMap = new HashMap < > ( ) ; initialized = false ; }
creates a new instance of the delegatehandler .
