public class TopologyWebAppFraction extends Object implements Fraction<TopologyWebAppFraction>
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_CONTEXT |
Constructor and Description |
---|
TopologyWebAppFraction() |
Modifier and Type | Method and Description |
---|---|
boolean |
exposeTopologyEndpoint() |
void |
exposeTopologyEndpoint(boolean exposeTopologyEndpoint)
Set to true to expose a Topology SSE endpoint and topology.js for
consuming topology information from the browser.
|
Map<String,String> |
proxiedServiceMappings()
Get a map, keyed by service name, of the proxied service names
and their context paths.
|
static String |
proxyHandlerName(String serviceName) |
void |
proxyService(String serviceName,
String contextPath)
Set up a load-balancing reverse proxy for the given service at the
given context path.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyDefaults, applyDefaults
public static final String DEFAULT_CONTEXT
public static String proxyHandlerName(String serviceName)
serviceName
- public void proxyService(String serviceName, String contextPath)
serviceName
- the name of the service to proxycontextPath
- the context path expose the proxy underpublic Map<String,String> proxiedServiceMappings()
public void exposeTopologyEndpoint(boolean exposeTopologyEndpoint)
exposeTopologyEndpoint
- whether to expose the endpoint or notpublic boolean exposeTopologyEndpoint()
Copyright © 2019 JBoss by Red Hat. All rights reserved.