Class ServerURL

java.lang.Object
org.yamcs.client.base.ServerURL

public class ServerURL extends Object
Parses Yamcs Server URLs and exposes standardized string outputs, as well as access to the individual URL components.
  • Method Details

    • getHost

      public String getHost()
    • getPort

      public int getPort()
    • isTLS

      public boolean isTLS()
    • setTLS

      public void setTLS(boolean tls)
    • getContext

      public String getContext()
    • setContext

      public void setContext(String context)
    • parse

      public static ServerURL parse(String url)
      Throws:
      IllegalArgumentException - when the URL is not something that can be matched to a Yamcs Server URL.
    • toString

      public String toString()
      Overrides:
      toString in class Object