Ignore:
Timestamp:
2015-12-26T23:42:05+01:00 (5 years ago)
Author:
simon04
Message:

Checkstyle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/HttpClient.java

    r9172 r9173  
    2727 * Provides a uniform access for a HTTP/HTTPS server. This class should be used in favour of {@link HttpURLConnection}.
    2828 */
    29 public class HttpClient {
     29public final class HttpClient {
    3030
    3131    private URL url;
     
    121121     * A wrapper for the HTTP response.
    122122     */
    123     public static class Response {
     123    public static final class Response {
    124124        private final HttpURLConnection connection;
    125125        private final int responseCode;
     
    213213         * Fetches the HTTP response as String.
    214214         * @return the response
    215          * @throws IOException
    216215         */
    217216        public String fetchContent() throws IOException {
     
    352351     * Sets whether not to set header {@code Connection=close}
    353352     * <p/>
    354      * This might fix #7640, see <a href='https://web.archive.org/web/20140118201501/http://www.tikalk.com/java/forums/httpurlconnection-disable-keep-alive'>here</a>.
     353     * This might fix #7640, see
     354     * <a href='https://web.archive.org/web/20140118201501/http://www.tikalk.com/java/forums/httpurlconnection-disable-keep-alive'>here</a>.
    355355     *
    356356     * @param keepAlive whether not to set header {@code Connection=close}
Note: See TracChangeset for help on using the changeset viewer.