From 7abf9f2f5d86b3c6d9296eaeca6e695e1b500851 Mon Sep 17 00:00:00 2001 From: Nick Couchman Date: Thu, 31 May 2018 16:20:40 -0400 Subject: [PATCH] GUACAMOLE-566: Update comment for request object in new mapper class. --- .../java/org/apache/guacamole/rest/RESTExceptionMapper.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/guacamole/src/main/java/org/apache/guacamole/rest/RESTExceptionMapper.java b/guacamole/src/main/java/org/apache/guacamole/rest/RESTExceptionMapper.java index 931408d6f..91179473a 100644 --- a/guacamole/src/main/java/org/apache/guacamole/rest/RESTExceptionMapper.java +++ b/guacamole/src/main/java/org/apache/guacamole/rest/RESTExceptionMapper.java @@ -48,7 +48,9 @@ public class RESTExceptionMapper implements ExceptionMapper { private final Logger logger = LoggerFactory.getLogger(RESTExceptionMapper.class); /** - * The request associated with this instance of this mapper. + * The HttpServletRequest for the Throwable being intercepted. Despite this + * class being a Singleton, this object will always be scoped with the + * current request for the Throwable that is being processed by this class. */ @Context private HttpServletRequest request;