GUACAMOLE-566: Update comment for request object in new mapper class.

Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/7abf9f2f
Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/7abf9f2f
Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/7abf9f2f

Branch: refs/heads/master
Commit: 7abf9f2f5d86b3c6d9296eaeca6e695e1b500851
Parents: 6cb50bd
Author: Nick Couchman <[email protected]>
Authored: Thu May 31 16:20:40 2018 -0400
Committer: Nick Couchman <[email protected]>
Committed: Thu May 31 16:58:12 2018 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/guacamole/rest/RESTExceptionMapper.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/7abf9f2f/guacamole/src/main/java/org/apache/guacamole/rest/RESTExceptionMapper.java
----------------------------------------------------------------------
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 931408d..9117947 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<Throwable> {
     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;

Reply via email to