@ Path ( "connection" ) public DirectoryObjectResource < Connection , APIConnection > getConnection ( ) throws GuacamoleException { // Return the underlying connection as a resource return connectionDirectoryResourceFactory . create ( userContext , userContext . getConnectionDirectory ( ) ) . getObjectResource ( activeConnection . getConnectionIdentifier ( ) ) ; }
Retrieves a resource representing the Connection object that is being actively used .