}
};
ContextsContainer container = new ContextsContainerImpl(supplier);
try {
String ctx1 = container.getContext(CTX_1_NAME);
TestContext ctx2 = container.getContext(CTX_2_NAME);
if (null != ctx1 && null != ctx2 && ctx1.equals(CTX_1_VAL) && ctx2.equals(CTX_2_VAL)) {
return response.writeStringAndFlush("Welcome!");
} else {
response.setStatus(HttpResponseStatus.BAD_REQUEST);
return response.writeStringAndFlush("Contexts not found or have wrong values.");
}