11

Hypertext Transfer Protocols

Hypertext Transfer Protocol (HTTP) is the foundational protocol used for information exchange on the web. It empowers communication between client computers and servers. HTTP’s applicability to Java is primarily due to Java web applications.

This chapter starts with an introduction to HTTP within the context of Java. Once the fundamentals have been addressed, the chapter moves on to a practical approach to using built-in and third-party HTTP-related libraries. Using HTTP for API integrations is also covered. The chapter also looks at security concerns with using HTTP and touches on the use of HTTPS. The concluding section focuses on performance optimizations for our Java applications when employing HTTP. By the ...

Get High Performance with Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.