and Decoding WSP Headers
This tutorial describes the steps to encode and decode WSP headers.
Wireless Session Protocol
(WSP) offers services that are most suited for browsing applications. It provides
functionality equivalent to HTTP 1.1 which incorporates features such as long-lived
sessions, a common facility for data push, capability negotiation and session
suspend/resume. For more details on WSP services, refer to
Reading headers in a WSP buffer
object holds the name and value pair of the WSP header field.
pulls the header / value pair out of the WSP buffer (into
to iterate through the WSP buffer. It calls
WSP Header Primitive Encoding
allows encoding of header values. This encodes the input using various WSP encoding methods as follows:
is used to convert data into binary strings.
WSP Header Primitive Decoding
allows decoding the primitive values of the header. This allows interpreting the encoded header.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License