Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
(Java) V4 4.1.0
-
None
Description
If Olingo will be used in a none Java Servlet environment it is complicated to do this because of the void process(HttpServletRequest request, HttpServletResponse response); entry point which is dependent on the servlet request/response objects.
To avoid this a interface with a process method like in the org.apache.olingo.server.core.ODataHandler with the ODataRequest and ODataResponse objects would be better.
This interface also should be the result of the OData.createHandler(ServiceMetadata serviceMetadata):ODataHttpHandler method.
This would help a lot to use Olingo in other web frameworks (beside of the Java Servlet).