public interface ContainerResolver
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.
|
static final String NOT_FOUND
String resolveContainerId(io.undertow.server.HttpServerExchange exchange, Map<String,List<ContainerInfo>> containerInfoPerContainer)
exchange
- exchange representing request to be routedcontainerInfoPerContainer
- set of known containers with mapped detailsNOT_FOUND
should be returnedCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.