[ 
https://issues.apache.org/jira/browse/OLINGO-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13812684#comment-13812684
 ] 

Stephan Klevenz commented on OLINGO-57:
---------------------------------------

Custom query parameters are accessible via the UriInfo object that is passed as 
parameter in each processor method.

Example:
ODataResponse readEntitySet(GetEntitySetUriInfo uriInfo, String contentType) 
throws ODataException;
=> uriInfo.getCustomQueryOptions();

If query parameters are needed in service factory then have a look at:
https://issues.apache.org/jira/browse/OLINGO-26

> Not possible to get query parameters from context
> -------------------------------------------------
>
>                 Key: OLINGO-57
>                 URL: https://issues.apache.org/jira/browse/OLINGO-57
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-core
>    Affects Versions: 1.0.0
>            Reporter: Eugenio Lentini
>            Assignee: Stephan Klevenz
>              Labels: features, patch
>
> Hi,
> I am looking for a method to retrieve query parameters of the request. I have 
> started from the ODataContext in my ServiceProviderFactory which extends 
> ODataServiceFactory.
> Here I can see from the debug that the query parameters are inside of 
> ODataRequestImpl which is set then into the ODataContext by the setParameter 
> method in the parameterTable map which the key "~odataRequest".
> I would like to have access to the query parameters, is there a way? or just 
> you have not done it on purpose?
> Thanks a lot for your effort, time and attention :-)
> Eugenio



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to