};
ExecControl execControl = launchConfig.getExecController().getControl();
Registry baseRegistry = NettyHandlerAdapter.buildBaseRegistry(stopper, launchConfig);
Registry effectiveRegistry = baseRegistry.join(userRegistry);
Response response = new DefaultResponse(execControl, responseHeaders, launchConfig.getBufferAllocator(), responseTransmitter);
DefaultContext.ApplicationConstants applicationConstants = new DefaultContext.ApplicationConstants(launchConfig, renderController, next);
requestConstants = new DefaultContext.RequestConstants(
applicationConstants, bindAddress, request, response, null, eventController.getRegistry()
);
DefaultContext.start(execControl, requestConstants, effectiveRegistry, ChainHandler.unpack(handler), Action.noop());
try {
if (!latch.await(timeout, TimeUnit.SECONDS)) {
throw new HandlerTimeoutException(this, timeout);
}
} catch (InterruptedException e) {
throw uncheck(e); // what to do here?
} finally {
status = response.getStatus();
}
}