类 QueryServiceResponse

  • 所有已实现的接口:
    Payload

    public class QueryServiceResponse
    extends Response
    Nacos naming query request.
    作者:
    xiweng.yy
    • 字段详细资料

    • 构造器详细资料

      • QueryServiceResponse

        public QueryServiceResponse()
      • QueryServiceResponse

        private QueryServiceResponse​(ServiceInfo serviceInfo)
    • 方法详细资料

      • buildSuccessResponse

        public static QueryServiceResponse buildSuccessResponse​(ServiceInfo serviceInfo)
        Build Success response.
        参数:
        serviceInfo - service info
        返回:
        service query response
      • buildFailResponse

        public static QueryServiceResponse buildFailResponse​(java.lang.String message)
        Build fail response.
        参数:
        message - message
        返回:
        service query response
      • setServiceInfo

        public void setServiceInfo​(ServiceInfo serviceInfo)