类 ServiceListResponse

java.lang.Object
com.alibaba.nacos.api.remote.response.Response
com.alibaba.nacos.api.naming.remote.response.ServiceListResponse

public class ServiceListResponse extends Response
Service list response.
作者:
xiweng.yy
  • 构造器详细资料

    • ServiceListResponse

      public ServiceListResponse()
  • 方法详细资料

    • buildSuccessResponse

      public static ServiceListResponse buildSuccessResponse(int count, List<String> serviceNames)
    • buildFailResponse

      public static ServiceListResponse buildFailResponse(String message)
      Build fail response.
      参数:
      message - error message
      返回:
      fail response
    • getCount

      public int getCount()
    • setCount

      public void setCount(int count)
    • getServiceNames

      public List<String> getServiceNames()
    • setServiceNames

      public void setServiceNames(List<String> serviceNames)