use of com.yahoo.application.container.handler.Request in project vespa by vespa-engine.
the class ApplicationRequestToDiscFilterRequestWrapper method getUpdatedRequest.
public Request getUpdatedRequest() {
Request updatedRequest = new Request(this.request.getUri(), this.request.getBody(), this.request.getMethod(), this.userPrincipal);
this.request.getHeaders().forEach(updatedRequest.getHeaders()::put);
return updatedRequest;
}
Aggregations