Top Inners Methods
io.undertow.server.handlers.proxy.mod_cluster

public Interface ModClusterProxyTarget

extends ProxyTarget, MaxRetriesProxyTarget
Known Direct Implementers
io.undertow.server.handlers.proxy.mod_cluster.ModClusterProxyTarget.ExistingSessionTarget, io.undertow.server.handlers.proxy.mod_cluster.ModClusterProxyTarget.BasicTarget
Imports
java.util.Iterator, io.undertow.server.HttpServerExchange, io.undertow.server.handlers.proxy.ProxyClient

Authors
Emanuel Muckenhuber, Radoslav Husar

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class

Method Summary

Modifier and TypeMethod and Description
public Context

Returns:

the context
resolveContext
(HttpServerExchange
the http server exchange
exchange
)

Resolve the responsible context handling this request.

Inherited from io.undertow.server.handlers.proxy.ProxyClient.MaxRetriesProxyTarget:
getMaxRetries

Method Detail

resolveContextback to summary
public Context resolveContext(HttpServerExchange exchange)

Resolve the responsible context handling this request.

Parameters
exchange:HttpServerExchange

the http server exchange

Returns:Context

the context

io.undertow.server.handlers.proxy.mod_cluster back to summary

public Class ModClusterProxyTarget.BasicTarget

extends Object
implements ModClusterProxyTarget
Class Inheritance
  • java.lang.Object
  • io.undertow.server.handlers.proxy.mod_cluster.ModClusterProxyTarget.BasicTarget
All Implemented Interfaces
io.undertow.server.handlers.proxy.mod_cluster.ModClusterProxyTarget, io.undertow.server.handlers.proxy.ProxyClient.MaxRetriesProxyTarget, io.undertow.server.handlers.proxy.ProxyClient.ProxyTarget

Field Summary

Modifier and TypeField and Description
private final ModClusterContainer
private final VirtualHost.HostEntry
private Context

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
public Context
resolveContext(HttpServerExchange
the http server exchange
exchange
)

Implements io.undertow.server.handlers.proxy.mod_cluster.ModClusterProxyTarget.resolveContext.

Resolve the responsible context handling this request.

private void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

containerback to summary
private final ModClusterContainer container
entryback to summary
private final VirtualHost.HostEntry entry
resolvedback to summary
private Context resolved

Constructor Detail

BasicTargetback to summary
public BasicTarget(VirtualHost.HostEntry entry, ModClusterContainer container)

Method Detail

getMaxRetriesback to summary
public int getMaxRetries()

Implements io.undertow.server.handlers.proxy.ProxyClient.MaxRetriesProxyTarget.getMaxRetries.

Annotations
@Override
resolveContextback to summary
public Context resolveContext(HttpServerExchange exchange)

Implements io.undertow.server.handlers.proxy.mod_cluster.ModClusterProxyTarget.resolveContext.

Doc from io.undertow.server.handlers.proxy.mod_cluster.ModClusterProxyTarget.resolveContext.

Resolve the responsible context handling this request.

Parameters
exchange:HttpServerExchange

the http server exchange

Returns:Context

the context

Annotations
@Override
resolveNodeback to summary
private void resolveNode()
io.undertow.server.handlers.proxy.mod_cluster back to summary

public Class ModClusterProxyTarget.ExistingSessionTarget

extends Object
implements ModClusterProxyTarget
Class Inheritance
  • java.lang.Object
  • io.undertow.server.handlers.proxy.mod_cluster.ModClusterProxyTarget.ExistingSessionTarget
All Implemented Interfaces
io.undertow.server.handlers.proxy.mod_cluster.ModClusterProxyTarget, io.undertow.server.handlers.proxy.ProxyClient.MaxRetriesProxyTarget, io.undertow.server.handlers.proxy.ProxyClient.ProxyTarget

Field Summary

Modifier and TypeField and Description
private final ModClusterContainer
private final VirtualHost.HostEntry
private final boolean
private boolean
private Context
private final Iterator<CharSequence>
private final String

Constructor Summary

AccessConstructor and Description
public
ExistingSessionTarget(String session, Iterator<CharSequence> routes, VirtualHost.HostEntry entry, ModClusterContainer container, boolean forceStickySession)

Method Summary

Modifier and TypeMethod and Description
public int
public Context
resolveContext(HttpServerExchange
the http server exchange
exchange
)

Implements io.undertow.server.handlers.proxy.mod_cluster.ModClusterProxyTarget.resolveContext.

Resolve the responsible context handling this request.

pack-priv void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

containerback to summary
private final ModClusterContainer container
entryback to summary
private final VirtualHost.HostEntry entry
forceStickySessionback to summary
private final boolean forceStickySession
resolvedback to summary
private boolean resolved
resolvedContextback to summary
private Context resolvedContext
routesback to summary
private final Iterator<CharSequence> routes
sessionback to summary
private final String session

Constructor Detail

ExistingSessionTargetback to summary
public ExistingSessionTarget(String session, Iterator<CharSequence> routes, VirtualHost.HostEntry entry, ModClusterContainer container, boolean forceStickySession)

Method Detail

getMaxRetriesback to summary
public int getMaxRetries()

Implements io.undertow.server.handlers.proxy.ProxyClient.MaxRetriesProxyTarget.getMaxRetries.

Annotations
@Override
resolveContextback to summary
public Context resolveContext(HttpServerExchange exchange)

Implements io.undertow.server.handlers.proxy.mod_cluster.ModClusterProxyTarget.resolveContext.

Doc from io.undertow.server.handlers.proxy.mod_cluster.ModClusterProxyTarget.resolveContext.

Resolve the responsible context handling this request.

Parameters
exchange:HttpServerExchange

the http server exchange

Returns:Context

the context

Annotations
@Override
resolveContextIfUnresolvedback to summary
pack-priv void resolveContextIfUnresolved()