final YokeResponseWriter responseWriter = new YokeResponseWriter(response, vertx());
final URI baseUri = getBaseUri(request);
try {
final ContainerRequest requestContext = new ContainerRequest(baseUri, request.absoluteURI(),
request.method(), getSecurityContext(request), new MapPropertiesDelegate());
for (final String headerName : request.headers().names()) {
requestContext.headers(headerName, request.headers().get(headerName));
}
requestContext.setWriter(responseWriter);