Class WsInfo

java.lang.Object
com.nimbusds.common.jsonrpc2.WsInfo

public final class WsInfo extends Object
Web service name and version.
  • Constructor Details

    • WsInfo

      public WsInfo(String name, String version)
      Creates a new web service name and version instance.
      Parameters:
      name - The web service name.
      version - The web service version.
  • Method Details

    • getName

      public String getName()
      Gets the web service name.
      Returns:
      The web service name.
    • getVersion

      public String getVersion()
      Gets the web service version.
      Returns:
      The web service version.
    • toString

      public String toString()
      Returns the string representation of this web service anme and version.

      Format:

       [ws-name] [ws-version]
       
      Overrides:
      toString in class Object
      Returns:
      The string representation.