[aerogear-dev] Client Paging Spec: Question on the ''pagingLocation" configuration
Matthias Wessendorf
matzew at apache.org
Wed Jan 23 06:23:10 EST 2013
Hi,
reading the [spec]:
```
pagingLocation: String, indicate whether paging information is sent as
query parameters (default), or on the request header.
```
1)
I think we need one more config setting, to say under what specific
header the server is expecting the "query information".
Like:
httpRequest.addHeader("My-Awful-Query", someValue);
// where the "My-Awful-Query" is replaced by the actual header key
2)
Name suggestions:
-queryHeaderIdentifier
-queryHeaderName
-queryHeader
3)
Perhaps a minor thing... but I think I don't like the 'pagingLocation'
name... if you just read that name, it is NOT (for me) clear
that this drives if the query strings is sent as a)header value or
b)appended as http query.
Any thoughts?
-Matthias
[spec] https://github.com/aerogear/aerogear.org/blob/client_paging_spec/docs/specs/abstract_aerogear-client-paging.markdown
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
More information about the aerogear-dev
mailing list