Home | History | Annotate | Download | only in http

Lines Matching defs:port

41  * This includes remote host name, port and scheme.
67 /** The port to use. */
68 protected final int port;
79 * @param port the port number.
80 * <code>-1</code> indicates the scheme default port.
85 public HttpHost(final String hostname, int port, final String scheme) {
97 this.port = port;
104 * @param port the port number.
105 * <code>-1</code> indicates the scheme default port.
107 public HttpHost(final String hostname, int port) {
108 this(hostname, port, null);
112 * Creates a new {@link HttpHost HttpHost}, with default scheme and port.
126 this(httphost.hostname, httphost.port, httphost.schemeName);
139 * Returns the port.
141 * @return the host port, or <code>-1</code> if not set
144 return this.port;
166 if (this.port != -1) {
168 buffer.append(Integer.toString(this.port));
182 if (this.port != -1) {
184 buffer.append(Integer.toString(this.port));
201 && this.port == that.port
214 hash = LangUtils.hashCode(hash, this.port);