org.eclipse.jetty.client
类 Address

java.lang.Object
  继承者 org.eclipse.jetty.client.Address

public class Address
extends Object

版本:
$Revision: 4135 $ $Date: 2008-12-02 11:57:07 +0100 (Tue, 02 Dec 2008) $

构造方法摘要
Address(String host, int port)
           
 
方法摘要
 boolean equals(Object obj)
           
static Address from(String hostAndPort)
           
 String getHost()
           
 int getPort()
           
 int hashCode()
           
 InetSocketAddress toSocketAddress()
           
 String toString()
           
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

Address

public Address(String host,
               int port)
方法详细信息

from

public static Address from(String hostAndPort)

equals

public boolean equals(Object obj)
覆盖:
Object 中的 equals

hashCode

public int hashCode()
覆盖:
Object 中的 hashCode

getHost

public String getHost()

getPort

public int getPort()

toSocketAddress

public InetSocketAddress toSocketAddress()

toString

public String toString()
覆盖:
Object 中的 toString


Copyright © 2013. All Rights Reserved.