{title:'v9.0 Migration Guide'}
The following guide can be used to help migrate your code to v9.0. Note that you can also refer to the Release Notes for changes as well.
Old | New |
---|---|
|
Has been replaced with {@link oajr.annotation.RestOp}, {@link oajr.annotation.RestGet}, {@link oajr.annotation.RestPut}, {@link oajr.annotation.RestPost}, {@link oajr.annotation.RestDelete}, {@link oajr.annotation.RestOptions} |
|
Has been replaced with {@link oaj.http.remote.RemoteOp}, {@link oaj.http.remote.RemoteGet}, {@link oaj.http.remote.RemotePut}, {@link oaj.http.remote.RemotePost}, {@link oaj.http.remote.RemoteDelete}. |
|
These have been removed in 9.0 due to the removal of the Jena packages (due to security issues). Replace with {@link oajr.servlet.BasicRestServlet} and {@link oajr.servlet.BasicRestServletGroup}. |
|
Has been renamed to |
|
Has been renamed to {@link oaj.http.annotation.Query#def} / {@link oaj.http.annotation.FormData#def}. Note however that |
|
Has been renamed to {@link oajr.annotation.Rest#defaultRequestHeaders} and added {@link oajr.annotation.Rest#defaultResponseHeaders}. |
|
Changed from a string array to a |