Class ApiInfo

    • Constructor Detail

      • ApiInfo

        public ApiInfo()
      • ApiInfo

        public ApiInfo​(ApiInfo source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getNamespaceId

        public String getNamespaceId()
        Get 命名空间Id,若为外部API,为固定值:"namespace-external"
        Returns:
        NamespaceId 命名空间Id,若为外部API,为固定值:"namespace-external"
      • setNamespaceId

        public void setNamespaceId​(String NamespaceId)
        Set 命名空间Id,若为外部API,为固定值:"namespace-external"
        Parameters:
        NamespaceId - 命名空间Id,若为外部API,为固定值:"namespace-external"
      • getMicroserviceId

        public String getMicroserviceId()
        Get 服务Id,若为外部API,为固定值:"ms-external"
        Returns:
        MicroserviceId 服务Id,若为外部API,为固定值:"ms-external"
      • setMicroserviceId

        public void setMicroserviceId​(String MicroserviceId)
        Set 服务Id,若为外部API,为固定值:"ms-external"
        Parameters:
        MicroserviceId - 服务Id,若为外部API,为固定值:"ms-external"
      • getPath

        public String getPath()
        Get API path
        Returns:
        Path API path
      • setPath

        public void setPath​(String Path)
        Set API path
        Parameters:
        Path - API path
      • getMethod

        public String getMethod()
        Get Api 请求
        Returns:
        Method Api 请求
      • setMethod

        public void setMethod​(String Method)
        Set Api 请求
        Parameters:
        Method - Api 请求
      • getPathMapping

        public String getPathMapping()
        Get 请求映射
        Returns:
        PathMapping 请求映射
      • setPathMapping

        public void setPathMapping​(String PathMapping)
        Set 请求映射
        Parameters:
        PathMapping - 请求映射
      • getHost

        public String getHost()
        Get api所在服务host,限定外部Api填写。格式: `http://127.0.0.1:8080`
        Returns:
        Host api所在服务host,限定外部Api填写。格式: `http://127.0.0.1:8080`
      • setHost

        public void setHost​(String Host)
        Set api所在服务host,限定外部Api填写。格式: `http://127.0.0.1:8080`
        Parameters:
        Host - api所在服务host,限定外部Api填写。格式: `http://127.0.0.1:8080`
      • getDescription

        public String getDescription()
        Get api描述信息
        Returns:
        Description api描述信息
      • setDescription

        public void setDescription​(String Description)
        Set api描述信息
        Parameters:
        Description - api描述信息