Package org.kie.server.router.spi
Interface ContainerResolver
-
- All Known Implementing Classes:
DefaultContainerResolver
public interface ContainerResolverResponsible for finding the proper container to deal with request
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringresolveContainerId(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.
-
-
-
Field Detail
-
NOT_FOUND
static final String NOT_FOUND
- See Also:
- Constant Field Values
-
-
Method Detail
-
resolveContainerId
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.- Parameters:
exchange- exchange representing request to be routedcontainerInfoPerContainer- set of known containers with mapped details- Returns:
- actual container id if found otherwise
NOT_FOUNDshould be returned
-
-