public final class WSTCPURI extends Object implements ContactInfo<ConnectionSession>
| Modifier and Type | Class and Description |
|---|---|
static class |
WSTCPURI.WSTCPURI2StringJAXBAdapter
Class is used to translate WSTCPURI to String and vice versa
This is used in JAXB serialization/deserialization
|
| Modifier and Type | Field and Description |
|---|---|
int |
customPort |
String |
host |
String |
path |
int |
port |
| Constructor and Description |
|---|
WSTCPURI()
This constructor should be used just by JAXB runtime
|
| Modifier and Type | Method and Description |
|---|---|
ConnectionSession |
createConnection()
Create a new Connection from this ContactInfo.
|
boolean |
equals(Object o) |
int |
getCustomPort()
Get custom TCP port, where connection should be established
|
int |
getEffectivePort() |
String |
getParameter(String name) |
int |
hashCode() |
static WSTCPURI |
parse(String uri) |
static WSTCPURI |
parse(URI uri) |
void |
setCustomPort(int customPort)
Set custom TCP port, where connection should be established
|
String |
toString() |
public String host
public int port
public String path
public int customPort
public int getCustomPort()
public void setCustomPort(int customPort)
customPort - custom TCP portpublic int getEffectivePort()
public ConnectionSession createConnection() throws IOException
ContactInfocreateConnection in interface ContactInfo<ConnectionSession>IOExceptionCopyright © 2005–2018 Oracle Corporation. All rights reserved.