public class AdminHttpHandler extends Object implements io.undertow.server.HttpHandler
| Constructor and Description |
|---|
AdminHttpHandler(Configuration configuration,
ConfigRepository repository,
ScheduledExecutorService executorService) |
| Modifier and Type | Method and Description |
|---|---|
void |
addControllerContainers(List<String> containers) |
protected void |
dropFromController(String containerId) |
List<ResponseAggregator> |
getAggregators() |
Configuration |
getConfiguration() |
Map<String,List<String>> |
getHostsPerServer() |
void |
handleRequest(io.undertow.server.HttpServerExchange exchange) |
protected void |
pushToController(String releaseId,
String containerId,
String alias) |
void |
removeUnavailableServer(String url) |
protected void |
updateControllerOnAdd(String containerId,
String releaseId,
String alias,
ContainerInfo containerInfo) |
protected void |
updateControllerOnRemove(String containerId) |
public AdminHttpHandler(Configuration configuration, ConfigRepository repository, ScheduledExecutorService executorService)
public void handleRequest(io.undertow.server.HttpServerExchange exchange)
throws Exception
handleRequest in interface io.undertow.server.HttpHandlerExceptionpublic List<ResponseAggregator> getAggregators()
public Configuration getConfiguration()
public void removeUnavailableServer(String url)
protected void pushToController(String releaseId, String containerId, String alias) throws Exception
Exceptionprotected void dropFromController(String containerId) throws Exception
Exceptionprotected void updateControllerOnRemove(String containerId)
protected void updateControllerOnAdd(String containerId, String releaseId, String alias, ContainerInfo containerInfo)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.