@Internal public final class EndpointParameters extends Object implements NamedEndpoint
Constructor and Description |
---|
EndpointParameters(HttpHost host,
Object attachment) |
EndpointParameters(String scheme,
String hostName,
int port,
Object attachment) |
Modifier and Type | Method and Description |
---|---|
Object |
getAttachment() |
String |
getHostName()
Returns name (IP or DNS name).
|
int |
getPort()
Returns the port.
|
String |
getScheme() |
String |
toString() |
public EndpointParameters(String scheme, String hostName, int port, Object attachment)
public String getScheme()
public String getHostName()
NamedEndpoint
getHostName
in interface NamedEndpoint
public int getPort()
NamedEndpoint
getPort
in interface NamedEndpoint
-1
if not setpublic Object getAttachment()
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.