@Internal public final class EndpointParameters extends Object implements NamedEndpoint
| 构造器和说明 |
|---|
EndpointParameters(HttpHost host,
Object attachment) |
EndpointParameters(String scheme,
String hostName,
int port,
Object attachment) |
public EndpointParameters(String scheme, String hostName, int port, Object attachment)
public String getScheme()
public String getHostName()
NamedEndpointgetHostName 在接口中 NamedEndpointpublic int getPort()
NamedEndpointgetPort 在接口中 NamedEndpoint-1 if not setpublic Object getAttachment()
Copyright © 2023. All rights reserved.