6.7 Summary Although HTTP has become the most important network protocol for end-to-end mobile applications, the high-level J2ME support for HTTP custom headers is limited. In this chapter, we introduced a framework to extend the basic HTTP support in J2ME. After reading this chapter, you can now use the HttpClient class to transparently handle HTTP sessions (using cookies), basic authentication, and digest authentication in your J2ME applications. For more advanced custom tasks, you can implement and plug in your own HTTP header Handlers. Near the end of this chapter, we also briefly discussed secure HTTP (HTTPS) and its J2ME support. |