[
https://issues.apache.org/jira/browse/OLINGO-1432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17391529#comment-17391529
]
Marek Gregor commented on OLINGO-1432:
--------------------------------------
Hello [~marek.houst], have you found answer for this question? Thanks.
> Is instance of 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
> Priority: Minor
>
> In all OData4 tutorials, fresh instance of ODataHttpHandler is created for
> each incoming request in HttpServlet.
> Is it thread-safe to create it 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)