Is your feature request related to a problem?
This code is repeated in every Rest Handler:
return new ExtensionRestResponse(
request,
NOT_FOUND,
"Extension REST action improperly configured to handle " + request.toString()
);
What solution would you like?
Create a method somewhere (ExtensionRestHandler default method? Static method on ExtensionRestResponse?) that takes the request as an argument and returns the result of the above instantiation.
What alternatives have you considered?
Copying and pasting the above in every Rest Handler implementation.
Do you have any additional context?

Is your feature request related to a problem?
This code is repeated in every Rest Handler:
What solution would you like?
Create a method somewhere (
ExtensionRestHandlerdefault method? Static method onExtensionRestResponse?) that takes therequestas an argument and returns the result of the above instantiation.What alternatives have you considered?
Copying and pasting the above in every Rest Handler implementation.
Do you have any additional context?