public interface HttpMappingRule
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(Runnable listener) |
void |
appendMappedServices(Map<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(Runnable listener) |
void |
updateMappingRules(boolean remove,
String path,
List<String> services,
Map<String,String> defaultParams,
ServiceDetails serviceDetails)
Updates the mapping rule with details of the service URLs and parameters at the given path
|
void appendMappedServices(Map<String,MappedServices> uriToServicesMap)
void addChangeListener(Runnable listener)
void removeChangeListener(Runnable listener)
void updateMappingRules(boolean remove, String path, List<String> services, Map<String,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.