jdk/src/share/classes/java/net/Proxy.java
changeset 10596 39b3a979e600
parent 5506 202f599c92aa
child 19069 1d9cb0d080e3
equal deleted inserted replaced
10595:c5be3e19fbab 10596:39b3a979e600
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    71      */
    71      */
    72     public final static Proxy NO_PROXY = new Proxy();
    72     public final static Proxy NO_PROXY = new Proxy();
    73 
    73 
    74     // Creates the proxy that represents a <code>DIRECT</code> connection.
    74     // Creates the proxy that represents a <code>DIRECT</code> connection.
    75     private Proxy() {
    75     private Proxy() {
    76         type = type.DIRECT;
    76         type = Type.DIRECT;
    77         sa = null;
    77         sa = null;
    78     }
    78     }
    79 
    79 
    80     /**
    80     /**
    81      * Creates an entry representing a PROXY connection.
    81      * Creates an entry representing a PROXY connection.