Server configuration
The configuration of a server depends on the technology that was used to build it. Here, we will focus on the configuration of the URLConnection class. This class has a number of protected fields that control how the connection behaves. These fields are accessed using corresponding get and set methods.
One field deals with user interactions. When set to true, it allows users to engage in interactions, such as responding to an authentication dialog box. A connection can be used for input and/or output. The connection can be configured to disallow input or output.
When data is transferred between a client and a server, it may be cached. The UseCaches variable determines whether caches are ignored or not. If set to true, then caches ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access