Class WSTCPURI

java.lang.Object
com.sun.xml.ws.transport.tcp.util.WSTCPURI
All Implemented Interfaces:
ContactInfo<ConnectionSession>

public final class WSTCPURI extends Object implements ContactInfo<ConnectionSession>
Author:
Alexey Stashok
  • Field Details

    • host

      public String host
    • port

      public int port
    • path

      public String path
    • customPort

      public int customPort
  • Constructor Details

    • WSTCPURI

      public WSTCPURI()
      This constructor should be used just by JAXB runtime
  • Method Details

    • getParameter

      public String getParameter(String name)
    • parse

      public static WSTCPURI parse(String uri)
    • parse

      public static WSTCPURI parse(URI uri)
    • getCustomPort

      public int getCustomPort()
      Get custom TCP port, where connection should be established
      Returns:
      custom TCP port
    • setCustomPort

      public void setCustomPort(int customPort)
      Set custom TCP port, where connection should be established
      Parameters:
      customPort - custom TCP port
    • getEffectivePort

      public int getEffectivePort()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • createConnection

      public ConnectionSession createConnection() throws IOException
      Description copied from interface: ContactInfo
      Create a new Connection from this ContactInfo. Throws an IOException if Connection creation fails.
      Specified by:
      createConnection in interface ContactInfo<ConnectionSession>
      Throws:
      IOException