Stream: hapi
Topic: Custom RESTful Operation
Christopher Schuler (May 23 2016 at 15:25):
Is it possible to implement a custom RESTful operation? I want to implement a measure evaluation (@Evaluate) that would evaluate a Measure by id. All my attempts to do this have ended in ConfigurationExceptions where the server does not recognize the annotated RESTful method (@Evaluate) provided.
Grahame Grieve (May 23 2016 at 20:51):
$evaluate - that's what it should be called, as an operation. is that the cause of the problem (instead of @evaluate?)
Christopher Schuler (May 23 2016 at 20:53):
$Evaluate is what I have been using. @Evaluate is the annotation for the method...
Grahame Grieve (May 23 2016 at 20:54):
ah ok
Last updated: Apr 12 2022 at 19:14 UTC