mike-jumper commented on pull request #546: URL: https://github.com/apache/guacamole-client/pull/546#issuecomment-682164133
For the functions which now return `ConnectionHistoryResource` (or `UserHistoryResource`), the `@GET` annotation just needs to be removed. It's no longer needed as it's the superclass of those resources that provides the function invoked for `@GET`. Without the annotation, the JAX-RS implementation will continue searching through the returned resource for the function to invoke for the GET request, finally serializing the result of _that_ function as its response. This is the behavior we want. The presence of that annotation is causing the JAX-RS implementation to not continue its search and instead attempt to serialize `ConnectionHistoryResource` for the body of the response. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
