You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Eugenio Lentini (JIRA)" <ji...@apache.org> on 2013/11/26 08:50:36 UTC

[jira] [Created] (OLINGO-72) Processor interceptor and data stream

Eugenio Lentini created OLINGO-72:
-------------------------------------

             Summary: Processor interceptor and data stream
                 Key: OLINGO-72
                 URL: https://issues.apache.org/jira/browse/OLINGO-72
             Project: Olingo
          Issue Type: Improvement
          Components: odata2-core
    Affects Versions: V2 1.1.0
            Reporter: Eugenio Lentini


Good morning,
I have two questions/improvements for olingo:
1) a sort of processor interceptor for authorization: for the time being I have implemented a processor in order to perform the authorization of my odata service.

Some clients, such as MS-Excel, want a specific answer in order to send user:pass so I have put this response with error 401 inside of a processor which is created by the Factory. Once the client has sent the credentials I can instantiate, always inside of the factory, the processor to build the atom feed.

2) stream data to the client: I have a lot of data, may be big data, and I cannot load all of them in memory for the conversion so it would be great to have a way to have access to the response object, or another way, to stream data to the client and not in one shot.

If it is already possible could you please suggest the method or document it? In case I could even send you a working example to save up your time.

Thanks a lot for the attention and the work you are doing.

Eugenio



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