Class URLRequestBody

java.lang.Object
org.odpi.openmetadata.adminservices.rest.URLRequestBody
Direct Known Subclasses:
PlatformSecurityRequestBody

public class URLRequestBody extends Object
  • Constructor Details

    • URLRequestBody

      public URLRequestBody()
      Default constructor
    • URLRequestBody

      public URLRequestBody(URLRequestBody template)
      Copy/clone constructor
      Parameters:
      template - source
  • Method Details

    • getUrlRoot

      public String getUrlRoot()
      Return the URL root (typically host name and port).
      Returns:
      string
    • setUrlRoot

      public void setUrlRoot(String urlRoot)
      Set up the URL root (typically host name and port).
      Parameters:
      urlRoot - string
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class Object
      Returns:
      description of the object values
    • equals

      public boolean equals(Object objectToCompare)
      Compare objects
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - object
      Returns:
      boolean
    • hashCode

      public int hashCode()
      Simple hash for the object
      Overrides:
      hashCode in class Object
      Returns:
      int