Package org.kie.server.router.proxy
Class KieServerProxyClient
- java.lang.Object
-
- org.kie.server.router.proxy.KieServerProxyClient
-
- All Implemented Interfaces:
io.undertow.server.handlers.proxy.ProxyClient,ConfigurationListener
public class KieServerProxyClient extends Object implements io.undertow.server.handlers.proxy.ProxyClient, ConfigurationListener
-
-
Constructor Summary
Constructors Constructor Description KieServerProxyClient(Configuration configuration, AdminHttpHandler adminHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddContainer(String containerId, URI serverURI)io.undertow.server.handlers.proxy.ProxyClient.ProxyTargetfindTarget(io.undertow.server.HttpServerExchange exchange)voidgetConnection(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)voidonContainerAdded(String container, String serverUrl)voidonContainerRemoved(String container, String serverUrl)voidremoveContainer(String containerId, URI serverURI)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.kie.server.router.ConfigurationListener
onConfigurationReloaded, onServerAdded, onServerRemoved
-
-
-
-
Constructor Detail
-
KieServerProxyClient
public KieServerProxyClient(Configuration configuration, AdminHttpHandler adminHandler)
-
-
Method Detail
-
findTarget
public io.undertow.server.handlers.proxy.ProxyClient.ProxyTarget findTarget(io.undertow.server.HttpServerExchange exchange)
- Specified by:
findTargetin interfaceio.undertow.server.handlers.proxy.ProxyClient
-
getConnection
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)- Specified by:
getConnectionin interfaceio.undertow.server.handlers.proxy.ProxyClient
-
onContainerAdded
public void onContainerAdded(String container, String serverUrl)
- Specified by:
onContainerAddedin interfaceConfigurationListener
-
onContainerRemoved
public void onContainerRemoved(String container, String serverUrl)
- Specified by:
onContainerRemovedin interfaceConfigurationListener
-
-