public interface HttpGateway
HttpGatewayHandler
can interogate
the mapping rules via the getMappedServices()
method so it can decide which
services to proxy requests to.Modifier and Type | Method and Description |
---|---|
void |
addMappingRuleConfiguration(HttpMappingRule mappingRule)
Adds a mapping rule for exposing a number of services at URI prefixes
|
java.util.Map<java.lang.String,MappedServices> |
getMappedServices()
Returns the currently mapped services indexed by URI prefix on this HTTP gateway
|
boolean |
isEnableIndex()
Returns true if the mapping index is enabled which by default
returns a JSON document describing the mapping of URI prefixes to services
|
void |
removeMappingRuleConfiguration(HttpMappingRule mappingRule)
Removes a mapping rule
|
void addMappingRuleConfiguration(HttpMappingRule mappingRule)
void removeMappingRuleConfiguration(HttpMappingRule mappingRule)
java.util.Map<java.lang.String,MappedServices> getMappedServices()
boolean isEnableIndex()
Copyright © 2015 Red Hat. All Rights Reserved.