public interface HttpMappingRule
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(java.lang.Runnable listener) |
void |
appendMappedServices(java.util.Map<java.lang.String,MappedServices> uriToServicesMap)
Using the mapping rules add all the mapped services to the given map with the URI prefix as the key of the map and
the mapped services as the value
|
void |
removeChangeListener(java.lang.Runnable listener) |
void |
updateMappingRules(boolean remove,
java.lang.String path,
java.util.List<java.lang.String> services,
java.util.Map<java.lang.String,java.lang.String> defaultParams,
ServiceDetails serviceDetails)
Updates the mapping rule with details of the service URLs and parameters at the given path
|
void appendMappedServices(java.util.Map<java.lang.String,MappedServices> uriToServicesMap)
void addChangeListener(java.lang.Runnable listener)
void removeChangeListener(java.lang.Runnable listener)
void updateMappingRules(boolean remove, java.lang.String path, java.util.List<java.lang.String> services, java.util.Map<java.lang.String,java.lang.String> defaultParams, ServiceDetails serviceDetails)
remove
- whether to remove (if true) or add (if false) this mappingpath
- the path that this mapping is boundservices
- the HTTP URLs of the services to map todefaultParams
- the default parameters to use in the URI templates such as for version and containerserviceDetails
- Copyright © 2011-2014 Red Hat. All Rights Reserved.