public class DefaultContainerResolver extends Object implements ContainerResolver
NOT_FOUND
Constructor and Description |
---|
DefaultContainerResolver() |
Modifier and Type | Method and Description |
---|---|
String |
resolveContainerId(io.undertow.server.HttpServerExchange exchange,
Map<String,List<ContainerInfo>> containerInfoPerContainer)
Based on given request (exchange) find the proper container id to be used to locate the server that the request
should be routed to.
|
String |
toString() |
public String resolveContainerId(io.undertow.server.HttpServerExchange exchange, Map<String,List<ContainerInfo>> containerInfoPerContainer)
ContainerResolver
resolveContainerId
in interface ContainerResolver
exchange
- exchange representing request to be routedcontainerInfoPerContainer
- set of known containers with mapped detailsNOT_FOUND
should be returnedCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.