You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Frederik Zimmer (Jira)" <ji...@apache.org> on 2023/01/27 10:23:00 UTC

[jira] [Created] (OLINGO-1593) Support jakarta namespace

Frederik Zimmer created OLINGO-1593:
---------------------------------------

             Summary: Support jakarta namespace
                 Key: OLINGO-1593
                 URL: https://issues.apache.org/jira/browse/OLINGO-1593
             Project: Olingo
          Issue Type: New Feature
          Components: odata4-server
    Affects Versions: (Java) V4 4.9.0
            Reporter: Frederik Zimmer
         Attachments: OLINGO-1593-Support-jakarta-namespace.patch

Hi,

I implemented support for the Jakarta namespace in the attached patch. Remaining API backward compatible was a bit hard due to the current implementation. I sacrificed the signature of the process method of ODataHttpHandler which now has Object as arguments for request and response. To get the old signature back one would have to change
OData odata = OData.newInstance();
to
ODataJavax odata = ODataJavax.newInstance();

In a Jakarta environment one would use
ODataJakarta odata = ODataJakarta.newInstance();



--
This message was sent by Atlassian Jira
(v8.20.10#820010)