- Updated the RPC protocols (forgot to do the reality test! It is impossible to resolve named parameters).
- StreamedRPCProtocol now have 2 variants of parseRequest(...) one taking an InputStream and one taking a parameter Map. The latter for HTTP transports.
- Added StreamedHTTPProtocol. This extends StreamedRPCProtocol and implies that any returned RPCError is actually an HTTPError subclass providing an http status code. This for a bit better interaction between HTTP transports and protocols wanting to support HTTP status codes rather than writing their own response. A REST type protocol is still not fully possible since we are still calling OSGi services by service class and method.
- APSExternalProtocolHTTPTransportProvider now supports ?params=value for GET.
- new JSONHTTP protocol tries to be as HTTP friendly as possible talking JSON and for GET can handle parameters with "?params=param:...:param" but only with primitives and String parameters. For POST and PUT a JSON array of objects or primitives can be sent as parameters.
Bug fix and some cosmetics.
Added System.out.println(...) and e.printStackTrace() if no logger has been provided for when onService* throws exceptions.
Dumb bug that was damn difficult to find have now been fixed. I apparently got interrupted while implementing setDataTypeClass(...) and never finished implementing it resulting in getDataTypeClass() returning null and causing an NPE (this should never be null!).
The APSExternalProtocolExtender now also provides special information about services that can potentially be called as REST having methods starting with post, put, get or delete.
Added REST support by a new JSONREST protocol and support for REST in both APSExternalProtocolService and the APSExternalProtocolHTTPTransportProvider.
Generated license header info for new JSONREST class.
Generated license header info for new JSONREST class.
Added APSVER tag to version number of 2 poms that were previously missed and changed version to 0.9.1.
Put documentation generation in a profile to avoid having all documentation always regenerated on each build.
Dev commit.
Documentation.
Documentation.
Regenerated source headers with new version number.
- Converted all APS-APIs javadoc to markdown since I'm now using a markdown doclet.
- Inspected and corrected documentation.
Added a whats new in 0.9.1 section.
Oops, wrong version number in README.md.
Fixed typo in javadoc.