@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()
NamedEndpointgetHostName in interface NamedEndpointpublic int getPort()
NamedEndpointgetPort in interface NamedEndpoint-1 if not setpublic Object getAttachment()
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.