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 |
addCallDetailRecord(CallDetailRecord cdr)
Adds a CallDetailRecord for reporting purposes
|
void |
addMappingRuleConfiguration(HttpMappingRule mappingRule)
Adds a mapping rule for exposing a number of services at URI prefixes
|
ApiManager |
getApiManager()
Returns a handle to the 3d party API Manager to be used with this gateway.
|
String |
getGatewayUrl()
Returns the base URL the gateway address
|
InetSocketAddress |
getLocalAddress()
Returns address the gateway service is listening on.
|
Map<String,IMappedServices> |
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,IMappedServices> getMappedServices()
String getGatewayUrl()
boolean isEnableIndex()
InetSocketAddress getLocalAddress()
ApiManager getApiManager()
void addCallDetailRecord(CallDetailRecord cdr)
Copyright © 2011–2015 Red Hat. All rights reserved.