Class SAPConnectionHTTP

java.lang.Object
com.uc4.api.objects.SAPConnectionHTTP

public class SAPConnectionHTTP extends Object
This class can be used to read or set the HTTP connection data for SAP Connection objects (PI, SLD, JXBP).
  • Constructor Details

    • SAPConnectionHTTP

      protected SAPConnectionHTTP(com.uc4.util.XMLDocument doc, ConnectionAttributes session)
      Creates a new instance of the SAPConnectionHTTP class by using the values provided in the XML Document.
      Parameters:
      doc - XML document
  • Method Details

    • getURL

      public String getURL()
      Returns the URL of the Service (XI, JXBP, SLD).
      Returns:
      HTTP URL or null if not set
    • getUser

      public String getUser()
      Returns the name of the user.
      Returns:
      User name or null if not set
    • setURL

      public void setURL(String url)
      Sets the URL of the Service (XI, JXBP, SLD).
      Parameters:
      url - HTTP URL
    • setUser

      public void setUser(String user)
      Sets the name of the user.
      Parameters:
      user - User name
    • setPassword

      public void setPassword(String pass)
      Sets the password for the HTTP user.
      Parameters:
      pass - Password
    • setLogin

      public void setLogin(UC4ObjectName login)
      Sets the login.
      Parameters:
      login - the new login which should never be null
    • getLogin

      public UC4ObjectName getLogin()
      Returns the Login
      Returns:
      Login or null if not set
    • store

      protected void store(com.uc4.util.XMLDocument doc, Element objectElement, ConnectionAttributes session, String ocvType)
      Saves the content of this instance in the specified XML document
      Parameters:
      doc - XML document
      objectElement - Parent element