Ticket #682 (closed Enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

Webservice: serialize number return values

Reported by: jri Owned by: jri
Priority: Major Milestone: Release 4.4
Component: DeepaMehta Standard Distribution Version: 4.3
Keywords: Cc: dgf, Malte, carolina
Complexity: 3 Area: Application Framework / API
Module: deepamehta-webservice

Description

When a plugin's service method returns a number it should serialize automatically (when the method is called via REST API). The plugin developer should not be required to implement a wrapper class or a message body writer.

Change History

comment:1 Changed 5 years ago by jri

  • Status changed from new to accepted

comment:2 Changed 5 years ago by Jörg Richter

Webservice: serialize number return values (#682).

When a plugin's service method returns a number it serializes automatically. The number's string representation is written to the message body, followed by the line separator string.

The plugin developer is no longer required to implement a wrapper class for the return value or a JAX-RS provider class (a message body writer).

See #682.

comment:3 Changed 5 years ago by Jörg Richter

Webservice: serialize number return values (#682).

When a plugin's service method returns a number it serializes automatically. The number's string representation is written to the message body, followed by the line separator string.

The plugin developer is no longer required to implement a wrapper class for the return value or a JAX-RS provider class (a message body writer).

See #682.

comment:4 Changed 5 years ago by jri

  • Status changed from accepted to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.