You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Marek Houst (Jira)" <ji...@apache.org> on 2020/02/26 09:46:00 UTC
[jira] [Created] (OLINGO-1432) Is ODataHttpHandler thread-safe ?
Marek Houst created OLINGO-1432:
-----------------------------------
Summary: Is ODataHttpHandler thread-safe ?
Key: OLINGO-1432
URL: https://issues.apache.org/jira/browse/OLINGO-1432
Project: Olingo
Issue Type: Question
Components: odata4-server
Reporter: Marek Houst
In all OData4 tutorials, fresh instance of ODataHttpHandler is created for each incoming request in HttpServlet.
Is it thread-safe to create is once and reuse it?
Something like:
{code:java}
// Get registered handler
final ODataHttpHandler handler = ODataHttpHandlerProvider.getHandler();
// Let the handler do the work
handler.process(req, resp);{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)