From aef29eec4130382820b6d9fdc023823ead13b703 Mon Sep 17 00:00:00 2001 From: arjantijms Date: Mon, 28 Dec 2020 21:29:09 +0100 Subject: [PATCH] Add getRequest method to RequestFacade, to get the wrapped Request --- java/org/apache/catalina/connector/RequestFacade.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/java/org/apache/catalina/connector/RequestFacade.java b/java/org/apache/catalina/connector/RequestFacade.java index 78a889f0a0c9..4051407a3bab 100644 --- a/java/org/apache/catalina/connector/RequestFacade.java +++ b/java/org/apache/catalina/connector/RequestFacade.java @@ -249,6 +249,13 @@ public RequestFacade(Request request) { // --------------------------------------------------------- Public Methods + /** + * @return the Request for which this object + * is the facade. + */ + public Request getRequest() { + return request; + } /** * Clear facade.