Class ModClusterProxyTarget.ExistingSessionTarget
java.lang.Object
io.undertow.server.handlers.proxy.mod_cluster.ModClusterProxyTarget.ExistingSessionTarget
- All Implemented Interfaces:
ModClusterProxyTarget,ProxyClient.MaxRetriesProxyTarget,ProxyClient.ProxyTarget
- Enclosing interface:
- ModClusterProxyTarget
public static class ModClusterProxyTarget.ExistingSessionTarget
extends Object
implements ModClusterProxyTarget
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.undertow.server.handlers.proxy.mod_cluster.ModClusterProxyTarget
ModClusterProxyTarget.BasicTarget, ModClusterProxyTarget.ExistingSessionTarget -
Constructor Summary
ConstructorsConstructorDescriptionExistingSessionTarget(String session, Iterator<CharSequence> routes, io.undertow.server.handlers.proxy.mod_cluster.VirtualHost.HostEntry entry, io.undertow.server.handlers.proxy.mod_cluster.ModClusterContainer container, boolean forceStickySession) -
Method Summary
Modifier and TypeMethodDescriptionintio.undertow.server.handlers.proxy.mod_cluster.ContextresolveContext(HttpServerExchange exchange) Resolve the responsible context handling this request.
-
Constructor Details
-
ExistingSessionTarget
public ExistingSessionTarget(String session, Iterator<CharSequence> routes, io.undertow.server.handlers.proxy.mod_cluster.VirtualHost.HostEntry entry, io.undertow.server.handlers.proxy.mod_cluster.ModClusterContainer container, boolean forceStickySession)
-
-
Method Details
-
resolveContext
public io.undertow.server.handlers.proxy.mod_cluster.Context resolveContext(HttpServerExchange exchange) Description copied from interface:ModClusterProxyTargetResolve the responsible context handling this request.- Specified by:
resolveContextin interfaceModClusterProxyTarget- Parameters:
exchange- the http server exchange- Returns:
- the context
-
getMaxRetries
public int getMaxRetries()- Specified by:
getMaxRetriesin interfaceProxyClient.MaxRetriesProxyTarget
-