public interface HttpGateway
HttpGatewayHandler
can interrogate
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
|
InetSocketAddress |
getLocalAddress()
Returns address the gateway service is listening on.
|
Map<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)
Map<String,MappedServices> getMappedServices()
boolean isEnableIndex()
InetSocketAddress getLocalAddress()
Copyright © 2011–2014 Red Hat. All rights reserved.