GUACAMOLE-956: Clarify relation of ContainerRequest to the HTTP request that resulted in an exception.

This commit is contained in:
Michael Jumper
2021-10-25 03:05:17 -07:00
parent 0597358dde
commit 38b3a19ace

View File

@@ -50,10 +50,10 @@ public class RESTExceptionMapper implements ExceptionMapper<Throwable> {
private final Logger logger = LoggerFactory.getLogger(RESTExceptionMapper.class); private final Logger logger = LoggerFactory.getLogger(RESTExceptionMapper.class);
/** /**
* The ContainerRequest for HTTP request that resulted in the Throwable * The ContainerRequest representing the HTTP request that resulted in the
* being intercepted. Despite this class being a Singleton, this object will * Throwable being intercepted. Despite this class being a Singleton, this
* always be scoped with the current request for the Throwable that is being * object will always be scoped with the current request for the Throwable
* processed by this class. * that is being processed by this class.
*/ */
@Context @Context
private ContainerRequest request; private ContainerRequest request;