类 HessianRemote


  • public class HessianRemote
    extends Object
    Encapsulates a remote address when no stub is available, e.g. for Java MicroEdition.
    • 构造器详细资料

      • HessianRemote

        public HessianRemote​(String type,
                             String url)
        Creates a new Hessian remote object.
        参数:
        type - the remote stub interface
        url - the remote url
      • HessianRemote

        public HessianRemote()
        Creates an uninitialized Hessian remote.
    • 方法详细资料

      • getType

        public String getType()
        Returns the remote api class name.
      • getURL

        public String getURL()
        Returns the remote URL.
      • setURL

        public void setURL​(String url)
        Sets the remote URL.
      • hashCode

        public int hashCode()
        Defines the hashcode.
        覆盖:
        hashCode 在类中 Object
      • equals

        public boolean equals​(Object obj)
        Defines equality
        覆盖:
        equals 在类中 Object
      • toString

        public String toString()
        Readable version of the remote.
        覆盖:
        toString 在类中 Object