类 SmsClientSupport

  • 直接已知子类:
    SmsClient

    public abstract class SmsClientSupport
    extends AbstractBceClient
    This class is abstract. It contains all common methods which the SmsClient class should need
    • 方法详细资料

      • createGeneralRequest

        protected InternalRequest createGeneralRequest​(String pathPrefix,
                                                       AbstractBceRequest bceRequest,
                                                       HttpMethodName httpMethod,
                                                       String... pathVariables)
        create general request: by pathPrefix(not contains v1 URL_PREFIX) pathPrefix combined with pathVariables will generate new path For example:/pathPrefix/../pathVariable1/pathVariable2
        参数:
        pathPrefix - resourcePath
        bceRequest - bceRequest
        httpMethod - method: post、get etc.
        pathVariables - variables
        返回:
        send request message
      • assertStringNotNullOrEmpty

        protected void assertStringNotNullOrEmpty​(String parameterValue,
                                                  String errorMessage)
      • assertMapNotNullOrEmpty

        protected void assertMapNotNullOrEmpty​(Map parameterValue,
                                               String errorMessage)
      • assertStringArrayNotNullOrEmpty

        protected void assertStringArrayNotNullOrEmpty​(String[] parameterValue,
                                                       String errorMessage)
      • assertListNotNullOrEmpty

        protected void assertListNotNullOrEmpty​(List<?> parameterValue,
                                                String errorMessage)