@Test void testGetURIParts() { ApplicationURI applicationURI = new ApplicationURI(createCloudRoute(CUSTOM + "host", createCloudDomain(CUSTOM + "domain"), null)); Map<String, Object> expectedParts = new HashMap<>(); expectedParts.put(SupportedParameters.HOST, CUSTOM + "host"); expectedParts.put(SupportedParameters.DOMAIN, CUSTOM + "domain"); expectedParts.put(SupportedParameters.ROUTE_PATH, ""); Assertions.assertEquals(expectedParts, applicationURI.getURIParts()); }
public Map<String, Object> getURIParts() { Map<String, Object> uriParts = new HashMap<>(); uriParts.put(SupportedParameters.HOST, getHost()); uriParts.put(SupportedParameters.DOMAIN, getDomain()); uriParts.put(SupportedParameters.ROUTE_PATH, getPath()); return Collections.unmodifiableMap(uriParts); }
ApplicationURI { public Map<String, Object> getURIParts() { Map<String, Object> uriParts = new HashMap<>(); uriParts.put(SupportedParameters.HOST, getHost()); uriParts.put(SupportedParameters.DOMAIN, getDomain()); uriParts.put(SupportedParameters.ROUTE_PATH, getPath()); return Collections.unmodifiableMap(uriParts); } }
ApplicationURI { public Map<String, Object> getURIParts() { Map<String, Object> uriParts = new HashMap<>(); uriParts.put(SupportedParameters.HOST, getHost()); uriParts.put(SupportedParameters.DOMAIN, getDomain()); uriParts.put(SupportedParameters.ROUTE_PATH, getPath()); return Collections.unmodifiableMap(uriParts); } ApplicationURI(String initial);  ApplicationURI(CloudRoute route); }
ApplicationURI { public Map<String, Object> getURIParts() { Map<String, Object> uriParts = new HashMap<>(); uriParts.put(SupportedParameters.HOST, getHost()); uriParts.put(SupportedParameters.DOMAIN, getDomain()); uriParts.put(SupportedParameters.ROUTE_PATH, getPath()); return Collections.unmodifiableMap(uriParts); } ApplicationURI(String initial);  ApplicationURI(CloudRoute route); static String getDomainFromURI(String uri); Map<String, Object> getURIParts(); Object getURIPart(String partName); void setURIPart(String partName, String part); @Override String toString(); String getHost(); void setHost(String host); String getDomain(); void setDomain(String domain); String getPath(); void setPath(String path); @Override int hashCode(); @Override boolean equals(Object object); }
ApplicationURI { public Map<String, Object> getURIParts() { Map<String, Object> uriParts = new HashMap<>(); uriParts.put(SupportedParameters.HOST, getHost()); uriParts.put(SupportedParameters.DOMAIN, getDomain()); uriParts.put(SupportedParameters.ROUTE_PATH, getPath()); return Collections.unmodifiableMap(uriParts); } ApplicationURI(String initial);  ApplicationURI(CloudRoute route); static String getDomainFromURI(String uri); Map<String, Object> getURIParts(); Object getURIPart(String partName); void setURIPart(String partName, String part); @Override String toString(); String getHost(); void setHost(String host); String getDomain(); void setDomain(String domain); String getPath(); void setPath(String path); @Override int hashCode(); @Override boolean equals(Object object);  }