Java Network Programming by Elliotte Rusty Harold
Author:Elliotte Rusty Harold
Language: eng
Format: epub, mobi, pdf
Tags: COMPUTERS / Programming Languages / Java
ISBN: 9781449357665
Publisher: O’Reilly Media
Published: 2013-10-03T16:00:00+00:00
Disconnecting from the Server
HTTP 1.1 supports persistent connections that allow multiple requests and responses to be sent over a single TCP socket. However, when Keep-Alive is used, the server won’t immediately close a connection simply because it has sent the last byte of data to the client. The client may, after all, send another request. Servers will time out and close the connection in as little as 5 seconds of inactivity. However, it’s still preferred for the client to close the connection as soon as it knows it’s done.
The HttpURLConnection class transparently supports HTTP Keep-Alive unless you explicitly turn it off. That is, it will reuse sockets if you connect to the same server again before the server has closed the connection. Once you know you’re done talking to a particular host, the disconnect() method enables a client to break the connection:
Download
Java Network Programming by Elliotte Rusty Harold.mobi
Java Network Programming by Elliotte Rusty Harold.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7772)
Grails in Action by Glen Smith Peter Ledbrook(7686)
Configuring Windows Server Hybrid Advanced Services Exam Ref AZ-801 by Chris Gill(6498)
Azure Containers Explained by Wesley Haakman & Richard Hooper(6473)
Running Windows Containers on AWS by Marcio Morales(5996)
Kotlin in Action by Dmitry Jemerov(5049)
Microsoft 365 Identity and Services Exam Guide MS-100 by Aaron Guilmette(4870)
Combating Crime on the Dark Web by Nearchos Nearchou(4458)
Management Strategies for the Cloud Revolution: How Cloud Computing Is Transforming Business and Why You Can't Afford to Be Left Behind by Charles Babcock(4412)
Microsoft Cybersecurity Architect Exam Ref SC-100 by Dwayne Natwick(4256)
The Ruby Workshop by Akshat Paul Peter Philips Dániel Szabó and Cheyne Wallace(4132)
The Age of Surveillance Capitalism by Shoshana Zuboff(3943)
Python for Security and Networking - Third Edition by José Manuel Ortega(3686)
Learn Windows PowerShell in a Month of Lunches by Don Jones(3503)
The Ultimate Docker Container Book by Schenker Gabriel N.;(3362)
Mastering Python for Networking and Security by José Manuel Ortega(3341)
Mastering Azure Security by Mustafa Toroman and Tom Janetscheck(3326)
Blockchain Basics by Daniel Drescher(3292)
Learn Wireshark by Lisa Bock(3181)
