throw UndertowMessages.MESSAGES.responseChannelAlreadyProvided();
}
HttpServerExchange newExchange = exchange.getConnection().sendOutOfBandResponse(exchange);
newExchange.setResponseCode(100);
newExchange.getResponseHeaders().put(Headers.CONTENT_LENGTH, 0);
newExchange.startBlocking();
newExchange.getOutputStream().close();
newExchange.getInputStream().close();
}
/**