Java Cometd Request Headers

24 views
Skip to first unread message

Jeff Nuss

unread,
May 23, 2012, 2:58:29 AM5/23/12
to cometd...@googlegroups.com
I've looked all over and haven't been able to find a clear answer to this question. Using the Java cometd library (not javascript), how can I add a request header to each Bayuex message that gets sent? In the javascript library, you can use cometd.config and pass it the configuration params as seen here: 

Also, this post mentions overriding the customize method on LongPollingTransport:

However, it doesn't seem apparent to me how overriding this method helps. If someone could provide some guidance, that would be awesome. Thanks.
Reply all
Reply to author
Forward
0 new messages