code: protected Request getRequest(HttpServerExchange exchange) {
          final String authenticity = Optional.ofNullable(this.attachment.getRequestParameter()
                  .get(Default.AUTHENTICITY.toString()))
                  .orElse(this.attachment.getForm().get(Default.AUTHENTICITY.toString()));
          
          return new Request(exchange)
                  .withSession(this.attachment.getSession())
                  .withAuthenticity(authenticity)
                  .withAuthentication(this.attachment.getAuthentication())
                  .withParameter(this.attachment.getRequestParameter())
                  .withBody(this.attachment.getBody());
      }
docs: Creates a new request object containing the current request data
  
  @param exchange The Undertow HttpServerExchange