public class KieServerProxyClient extends Object implements io.undertow.server.handlers.proxy.ProxyClient, ConfigurationListener
Constructor and Description |
---|
KieServerProxyClient(Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
addContainer(String containerId,
URI serverURI) |
io.undertow.server.handlers.proxy.ProxyClient.ProxyTarget |
findTarget(io.undertow.server.HttpServerExchange exchange) |
void |
getConnection(io.undertow.server.handlers.proxy.ProxyClient.ProxyTarget target,
io.undertow.server.HttpServerExchange exchange,
io.undertow.server.handlers.proxy.ProxyCallback<io.undertow.server.handlers.proxy.ProxyConnection> callback,
long timeout,
TimeUnit timeUnit) |
void |
onContainerAdded(String container,
String serverUrl) |
void |
onContainerRemoved(String container,
String serverUrl) |
void |
removeContainer(String containerId,
URI serverURI) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onServerAdded, onServerRemoved
public KieServerProxyClient(Configuration configuration)
public io.undertow.server.handlers.proxy.ProxyClient.ProxyTarget findTarget(io.undertow.server.HttpServerExchange exchange)
findTarget
in interface io.undertow.server.handlers.proxy.ProxyClient
public void getConnection(io.undertow.server.handlers.proxy.ProxyClient.ProxyTarget target, io.undertow.server.HttpServerExchange exchange, io.undertow.server.handlers.proxy.ProxyCallback<io.undertow.server.handlers.proxy.ProxyConnection> callback, long timeout, TimeUnit timeUnit)
getConnection
in interface io.undertow.server.handlers.proxy.ProxyClient
public void onContainerAdded(String container, String serverUrl)
onContainerAdded
in interface ConfigurationListener
public void onContainerRemoved(String container, String serverUrl)
onContainerRemoved
in interface ConfigurationListener
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.