equal
deleted
inserted
replaced
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. |