If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Trusted Contributor
gopi
Posts: 126
Registered: ‎10-15-2010
My Device: Torch 9850
My Carrier: Not specified

Browser session header properties

[ Edited ]

Hai to all, I want to know what are the header properties used by Blackberry default browser session.
Since my http connection needs all the browser session header properties like Accept-Language,Accept-Encoding,Keep-Alive.

Please use plain text.
Developer
maadani
Posts: 729
Registered: ‎05-04-2011
My Device: 9700

Re: Browser session header properties

Hi @gopi,

 

This can be easily done by a breakpoint or a sniffer.

 

E.

Please use plain text.
Trusted Contributor
gopi
Posts: 126
Registered: ‎10-15-2010
My Device: Torch 9850
My Carrier: Not specified

Re: Browser session header properties

Thanks for your quick reply. Can you please explain in more detail how to set breakpoint for browser session . Will i need to set break point at displaypage() or at getDefaultSession() ?

Please use plain text.
Developer
maadani
Posts: 729
Registered: ‎05-04-2011
My Device: 9700

Re: Browser session header properties

You will have to put your break point in on the displayPage call but you will have to dig a bit inside to get to the connection.

 

For the second option, just set your URL to a local server and put a sniffer there.

 

E.

Please use plain text.