A C D F G H I L M O P R S T U W 

A

addChangeListener(Runnable) - Method in interface org.fusesource.gateway.handlers.http.HttpMappingRule
 
addMappingRuleConfiguration(HttpMappingRule) - Method in interface org.fusesource.gateway.handlers.http.HttpGateway
Adds a mapping rule for exposing a number of services at URI prefixes
appendMappedServices(Map<String, MappedServices>) - Method in interface org.fusesource.gateway.handlers.http.HttpMappingRule
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

C

choose(List<T>, ClientRequestFacade) - Method in interface org.fusesource.gateway.loadbalancer.LoadBalancer
 
choose(List<T>, ClientRequestFacade) - Method in class org.fusesource.gateway.loadbalancer.RandomLoadBalancer
 
choose(List<T>, ClientRequestFacade) - Method in class org.fusesource.gateway.loadbalancer.RoundRobinLoadBalancer
 
choose(List<T>, ClientRequestFacade) - Method in class org.fusesource.gateway.loadbalancer.StickyLoadBalancer
 
chooseService(HttpServerRequest) - Method in class org.fusesource.gateway.handlers.http.MappedServices
Chooses a request to use
ClientRequestFacade - Interface in org.fusesource.gateway.loadbalancer
An interface used to abstract the underlying request mechanism (e.g.
createClient(URL) - Method in class org.fusesource.gateway.handlers.http.HttpGatewayHandler
 
createClient(NetSocket, URI, Handler<AsyncResult<NetSocket>>) - Method in class org.fusesource.gateway.handlers.tcp.TcpGatewayHandler
Creates a new client for the given URL and handler
createLoadBalancer(String, int) - Static method in class org.fusesource.gateway.loadbalancer.LoadBalancers
 

D

destroy() - Method in class org.fusesource.gateway.handlers.http.HttpGatewayServer
 
destroy() - Method in class org.fusesource.gateway.handlers.tcp.TcpGateway
 

F

flush() - Method in class org.fusesource.gateway.loadbalancer.StickyLoadBalancer
Clears the cache of request client IDs to the bound service

G

getBundleName() - Method in interface org.fusesource.gateway.ServiceDetails
 
getBundleName() - Method in class org.fusesource.gateway.ServiceDTO
 
getBundleVersion() - Method in interface org.fusesource.gateway.ServiceDetails
 
getBundleVersion() - Method in class org.fusesource.gateway.ServiceDTO
 
getClientRequestKey() - Method in class org.fusesource.gateway.handlers.http.HttpClientRequestFacade
 
getClientRequestKey() - Method in class org.fusesource.gateway.handlers.tcp.TcpClientRequestFacade
 
getClientRequestKey() - Method in interface org.fusesource.gateway.loadbalancer.ClientRequestFacade
Returns a unique string which is used to represent the client request; such as an IP address, username, cookie value or query parameter value.
getContainer() - Method in class org.fusesource.gateway.handlers.http.MappedServices
 
getContainer() - Method in interface org.fusesource.gateway.ServiceDetails
 
getContainer() - Method in class org.fusesource.gateway.ServiceDTO
 
getHost() - Method in class org.fusesource.gateway.handlers.http.HttpGatewayServer
 
getHost() - Method in class org.fusesource.gateway.handlers.tcp.TcpGateway
 
getId() - Method in class org.fusesource.gateway.handlers.http.MappedServices
 
getId() - Method in interface org.fusesource.gateway.ServiceDetails
 
getId() - Method in class org.fusesource.gateway.ServiceDTO
 
getMappedServices() - Method in interface org.fusesource.gateway.handlers.http.HttpGateway
Returns the currently mapped services indexed by URI prefix on this HTTP gateway
getPathMap(String) - Method in class org.fusesource.gateway.ServiceMap
 
getPaths() - Method in class org.fusesource.gateway.ServiceMap
Returns a list of all the current paths for the services
getPort() - Method in class org.fusesource.gateway.handlers.http.HttpGatewayServer
 
getPort() - Method in class org.fusesource.gateway.handlers.tcp.TcpGateway
 
getProtocol() - Method in class org.fusesource.gateway.handlers.tcp.TcpGateway
 
getProxyServiceUrl() - Method in class org.fusesource.gateway.handlers.http.ProxyMappingDetails
Returns the base URL of the back end service being invoked including the exposed path of the service.
getReverseServiceUrl() - Method in class org.fusesource.gateway.handlers.http.ProxyMappingDetails
Returns the base URL of the front end request including the matched path.
getServiceDetails() - Method in class org.fusesource.gateway.handlers.http.MappedServices
 
getServiceMap() - Method in class org.fusesource.gateway.handlers.tcp.TcpGateway
 
getServicePath() - Method in class org.fusesource.gateway.handlers.http.ProxyMappingDetails
The full path being invoked on the back end service
getServices() - Method in interface org.fusesource.gateway.ServiceDetails
 
getServices() - Method in class org.fusesource.gateway.ServiceDTO
 
getServices(String) - Method in class org.fusesource.gateway.ServiceMap
Returns a list of all the current services for the given path
getServiceUrls() - Method in class org.fusesource.gateway.handlers.http.MappedServices
 
getVersion() - Method in class org.fusesource.gateway.handlers.http.MappedServices
 
getVersion() - Method in interface org.fusesource.gateway.ServiceDetails
 
getVersion() - Method in class org.fusesource.gateway.ServiceDTO
 
getVertx() - Method in class org.fusesource.gateway.handlers.http.HttpGatewayServer
 
getVertx() - Method in class org.fusesource.gateway.handlers.tcp.TcpGateway
 

H

handle(HttpServerRequest) - Method in class org.fusesource.gateway.handlers.http.HttpGatewayHandler
 
handle(HttpClientResponse) - Method in class org.fusesource.gateway.handlers.http.policy.ReverseUriPolicy
 
handle(NetSocket) - Method in class org.fusesource.gateway.handlers.tcp.TcpGatewayHandler
 
HttpClientRequestFacade - Class in org.fusesource.gateway.handlers.http
A default implementation of ClientRequestFacade for HTTP requests.
HttpClientRequestFacade(HttpServerRequest) - Constructor for class org.fusesource.gateway.handlers.http.HttpClientRequestFacade
 
HttpGateway - Interface in org.fusesource.gateway.handlers.http
An interface to working with a HTTP gateway which has the responsibility for configuring a number of mapping rules so that the HttpGatewayHandler can interogate the mapping rules via the HttpGateway.getMappedServices() method so it can decide which services to proxy requests to.
HttpGatewayHandler - Class in org.fusesource.gateway.handlers.http
 
HttpGatewayHandler(Vertx, HttpGateway) - Constructor for class org.fusesource.gateway.handlers.http.HttpGatewayHandler
 
HttpGatewayServer - Class in org.fusesource.gateway.handlers.http
 
HttpGatewayServer(Vertx, HttpGatewayHandler, int) - Constructor for class org.fusesource.gateway.handlers.http.HttpGatewayServer
 
HttpMappingRule - Interface in org.fusesource.gateway.handlers.http
Represents a HTTP mapping rule base that can be bound to service discovery mechanisms like ZooKeeper.

I

init() - Method in class org.fusesource.gateway.handlers.http.HttpGatewayServer
 
init() - Method in class org.fusesource.gateway.handlers.tcp.TcpGateway
 
isEnableIndex() - Method in interface org.fusesource.gateway.handlers.http.HttpGateway
Returns true if the mapping index is enabled which by default returns a JSON document describing the mapping of URI prefixes to services
isMappingIndexRequest(HttpServerRequest) - Method in class org.fusesource.gateway.handlers.http.HttpGatewayHandler
 
isReverseHeaders() - Method in class org.fusesource.gateway.handlers.http.MappedServices
 

L

LoadBalancer<T> - Interface in org.fusesource.gateway.loadbalancer
Represents the load balancing algorithm to use to pick which service to use.
LoadBalancers - Class in org.fusesource.gateway.loadbalancer
Helper methods for using and creating load balancers
LoadBalancers() - Constructor for class org.fusesource.gateway.loadbalancer.LoadBalancers
 

M

MappedServices - Class in org.fusesource.gateway.handlers.http
Represents the mapped services and the relevant mapping information so that a service implementation can be chosen using a load balancer together with wrapping the client in whatever policies are required.
MappedServices(String, ServiceDetails, LoadBalancer<String>, boolean) - Constructor for class org.fusesource.gateway.handlers.http.MappedServices
 
mappingRulesToJson(Map<String, MappedServices>) - Method in class org.fusesource.gateway.handlers.http.HttpGatewayHandler
 

O

org.fusesource.gateway - package org.fusesource.gateway
 
org.fusesource.gateway.handlers.http - package org.fusesource.gateway.handlers.http
 
org.fusesource.gateway.handlers.http.policy - package org.fusesource.gateway.handlers.http.policy
 
org.fusesource.gateway.handlers.tcp - package org.fusesource.gateway.handlers.tcp
 
org.fusesource.gateway.loadbalancer - package org.fusesource.gateway.loadbalancer
 

P

ProxyMappingDetails - Class in org.fusesource.gateway.handlers.http
The details of the mapping from the front end gateway to the back end service implementation so that we can do things like rewrite reponse headers
ProxyMappingDetails(String, String, String) - Constructor for class org.fusesource.gateway.handlers.http.ProxyMappingDetails
 

R

RANDOM_LOAD_BALANCER - Static variable in class org.fusesource.gateway.loadbalancer.LoadBalancers
 
RandomLoadBalancer<T> - Class in org.fusesource.gateway.loadbalancer
Random load balancer
RandomLoadBalancer() - Constructor for class org.fusesource.gateway.loadbalancer.RandomLoadBalancer
 
removeChangeListener(Runnable) - Method in interface org.fusesource.gateway.handlers.http.HttpMappingRule
 
removeMappingRuleConfiguration(HttpMappingRule) - Method in interface org.fusesource.gateway.handlers.http.HttpGateway
Removes a mapping rule
ReverseUriPolicy - Class in org.fusesource.gateway.handlers.http.policy
Rewrites URL in the Location, Content-Location and URI headers on HTTP redirect responses.
ReverseUriPolicy(MappedServices, HttpServerRequest, Handler<HttpClientResponse>, ProxyMappingDetails) - Constructor for class org.fusesource.gateway.handlers.http.policy.ReverseUriPolicy
 
rewriteBackendUrl(String) - Method in class org.fusesource.gateway.handlers.http.ProxyMappingDetails
If a URL is relative to the back end proxy service then redirect it to be relative to the front end service
rewriteUrl(String) - Method in class org.fusesource.gateway.handlers.http.MappedServices
Rewrites the URI response from a request to a URI in the gateway namespace
ROUND_ROBIN_LOAD_BALANCER - Static variable in class org.fusesource.gateway.loadbalancer.LoadBalancers
 
RoundRobinLoadBalancer<T> - Class in org.fusesource.gateway.loadbalancer
Round robbin load balancer
RoundRobinLoadBalancer() - Constructor for class org.fusesource.gateway.loadbalancer.RoundRobinLoadBalancer
 

S

ServiceDetails - Interface in org.fusesource.gateway
Represents the details of a service
ServiceDTO - Class in org.fusesource.gateway
 
ServiceDTO() - Constructor for class org.fusesource.gateway.ServiceDTO
 
ServiceMap - Class in org.fusesource.gateway
Maintains a mapping of services which is then use by the proxy to update in process proxy handlers, or used to create new proxy handers
ServiceMap() - Constructor for class org.fusesource.gateway.ServiceMap
 
serviceRemoved(String, ServiceDetails) - Method in class org.fusesource.gateway.ServiceMap
When a service is added or updated
serviceUpdated(String, ServiceDetails) - Method in class org.fusesource.gateway.ServiceMap
When a service is added or updated
setBundleName(String) - Method in class org.fusesource.gateway.ServiceDTO
 
setBundleVersion(String) - Method in class org.fusesource.gateway.ServiceDTO
 
setContainer(String) - Method in class org.fusesource.gateway.ServiceDTO
 
setHost(String) - Method in class org.fusesource.gateway.handlers.http.HttpGatewayServer
 
setHost(String) - Method in class org.fusesource.gateway.handlers.tcp.TcpGateway
 
setId(String) - Method in class org.fusesource.gateway.ServiceDTO
 
setServices(List<String>) - Method in class org.fusesource.gateway.ServiceDTO
 
setVersion(String) - Method in class org.fusesource.gateway.ServiceDTO
 
STICKY_LOAD_BALANCER - Static variable in class org.fusesource.gateway.loadbalancer.LoadBalancers
 
STICKY_LOAD_BALANCER_DEFAULT_CACHE_SIZE - Static variable in class org.fusesource.gateway.loadbalancer.LoadBalancers
 
StickyLoadBalancer<T> - Class in org.fusesource.gateway.loadbalancer
Implements a sticky load balancer where a unique client ID String is requested from the ClientRequestFacade and used to keep track of which service was used last time and to use that if its possible and keep a cache of requests to
StickyLoadBalancer() - Constructor for class org.fusesource.gateway.loadbalancer.StickyLoadBalancer
 
StickyLoadBalancer(int) - Constructor for class org.fusesource.gateway.loadbalancer.StickyLoadBalancer
 
StickyLoadBalancer(int, LoadBalancer<T>) - Constructor for class org.fusesource.gateway.loadbalancer.StickyLoadBalancer
 

T

TcpClientRequestFacade - Class in org.fusesource.gateway.handlers.tcp
 
TcpClientRequestFacade(NetSocket) - Constructor for class org.fusesource.gateway.handlers.tcp.TcpClientRequestFacade
 
TcpGateway - Class in org.fusesource.gateway.handlers.tcp
 
TcpGateway(Vertx, ServiceMap, int, String, Handler<NetSocket>) - Constructor for class org.fusesource.gateway.handlers.tcp.TcpGateway
 
TcpGatewayHandler - Class in org.fusesource.gateway.handlers.tcp
A TCP gateway implementation
TcpGatewayHandler(Vertx, ServiceMap, String, LoadBalancer<String>, LoadBalancer<ServiceDetails>) - Constructor for class org.fusesource.gateway.handlers.tcp.TcpGatewayHandler
 
toString() - Method in class org.fusesource.gateway.handlers.http.HttpGatewayServer
 
toString() - Method in class org.fusesource.gateway.handlers.http.MappedServices
 
toString() - Method in class org.fusesource.gateway.handlers.http.ProxyMappingDetails
 
toString() - Method in class org.fusesource.gateway.handlers.tcp.TcpGateway
 
toString() - Method in class org.fusesource.gateway.loadbalancer.StickyLoadBalancer
 
toString() - Method in class org.fusesource.gateway.ServiceDTO
 

U

updateMappingRules(boolean, String, List<String>, Map<String, String>, ServiceDetails) - Method in interface org.fusesource.gateway.handlers.http.HttpMappingRule
Updates the mapping rule with details of the service URLs and parameters at the given path

W

wrapResponseHandlerInPolicies(HttpServerRequest, Handler<HttpClientResponse>, ProxyMappingDetails) - Method in class org.fusesource.gateway.handlers.http.MappedServices
Provides a hook so we can wrap a client response handler in a policy such as to reverse the URIs ReverseUriPolicy or add metering, limits, security or contract checks etc.
A C D F G H I L M O P R S T U W 

Copyright © 2017 Red Hat. All Rights Reserved.