
eos.model.web.EndpointMappings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of a8i Show documentation
Show all versions of a8i Show documentation
EOS is a Full Fledged Java Application Server with built in Dependency Injection,
Request Mapping and Data Management support. EOS boasts its own custom view tag library and
the ability to write your own custom view tags.
The newest version!
package eos.model.web;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
public class EndpointMappings {
ConcurrentMap mappings;
public EndpointMappings(){
this.mappings = new ConcurrentHashMap<>();
}
public void add(String key, EndpointMapping endpointMapping){
this.mappings.put(key, endpointMapping);
}
public EndpointMapping get(String key){
if(this.mappings.containsKey(key)){
return this.mappings.get(key);
}
return null;
}
public boolean contains(String key){
return this.mappings.containsKey(key);
}
public ConcurrentMap getMappings() {
return mappings;
}
public void setMappings(ConcurrentMap m) {
this.mappings = mappings;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy