[
https://issues.apache.org/jira/browse/OLINGO-1136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ramya resolved OLINGO-1136.
---------------------------
Resolution: Fixed
> 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.6, V2 2.0.7, V2 2.0.8
> 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)