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 end of this chapter, you should have a firm understanding of how HTTP impacts performance in Java applications and be comfortable with your future HTTP implementations.
This chapter covers the following main topics:
- Introduction...