You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Ramya (JIRA)" <ji...@apache.org> on 2017/06/09 03:23:20 UTC

[jira] [Created] (OLINGO-1136) Making Batch odata request headers available for every batch request

Ramya created OLINGO-1136:
-----------------------------

             Summary: Making Batch odata request headers available for every batch request
                 Key: OLINGO-1136
                 URL: https://issues.apache.org/jira/browse/OLINGO-1136
             Project: Olingo
          Issue Type: Bug
          Components: odata2-core
    Affects Versions: V2 2.0.8, V2 2.0.7, V2 2.0.6
            Reporter: Ramya
            Priority: Minor


Currently the way we can get batch request headers would be as below
1st batch request: getContext().getBatchParentContext().getRequestHeaders().get(“<header>”)
2nd batch request: getContext().getBatchParentContext().getBatchParentContext().getRequestHeaders().get(“<header>”)
3rd batch request: getContext().getBatchParentContext().getBatchParentContext().getBatchParentContext().getRequestHeaders().get(“<header>”)
And so on for subsequent request. The problem with this is the number of batch requests is not fixed and hence we will not know how many times to call getBatchParentContext().




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)