jdk/src/java.base/share/classes/java/net/URLConnection.java
changeset 44848 e946981dc37c
parent 43070 2c327aa46246
child 44926 32eeee1c0abd
child 45124 144479e89cdb
equal deleted inserted replaced
44847:cf230b81a508 44848:e946981dc37c
    52  * of all classes that represent a communications link between the
    52  * of all classes that represent a communications link between the
    53  * application and a URL. Instances of this class can be used both to
    53  * application and a URL. Instances of this class can be used both to
    54  * read from and to write to the resource referenced by the URL. In
    54  * read from and to write to the resource referenced by the URL. In
    55  * general, creating a connection to a URL is a multistep process:
    55  * general, creating a connection to a URL is a multistep process:
    56  *
    56  *
    57  * <center><table border=2 summary="Describes the process of creating a connection to a URL: openConnection() and connect() over time.">
    57  * <div style="text-align:center"><table style="margin:0 auto" border=2 summary="Describes the process of creating a connection to a URL: openConnection() and connect() over time.">
    58  * <tr><th>{@code openConnection()}</th>
    58  * <tr><th>{@code openConnection()}</th>
    59  *     <th>{@code connect()}</th></tr>
    59  *     <th>{@code connect()}</th></tr>
    60  * <tr><td>Manipulate parameters that affect the connection to the remote
    60  * <tr><td>Manipulate parameters that affect the connection to the remote
    61  *         resource.</td>
    61  *         resource.</td>
    62  *     <td>Interact with the resource; query header fields and
    62  *     <td>Interact with the resource; query header fields and
    63  *         contents.</td></tr>
    63  *         contents.</td></tr>
    64  * </table>
    64  * </table>
    65  * ----------------------------&gt;
    65  * ----------------------------&gt;
    66  * <br>time</center>
    66  * <br>time</div>
    67  *
    67  *
    68  * <ol>
    68  * <ol>
    69  * <li>The connection object is created by invoking the
    69  * <li>The connection object is created by invoking the
    70  *     {@code openConnection} method on a URL.
    70  *     {@code openConnection} method on a URL.
    71  * <li>The setup parameters and general request properties are manipulated.
    71  * <li>The setup parameters and general request properties are manipulated.