com.baidubce.services.sms

Class SmsClientSupport

    • Method Detail

      • 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
        Parameters:
        pathPrefix - resourcePath
        bceRequest - bceRequest
        httpMethod - method: post、get etc.
        pathVariables - variables
        Returns:
        send request message
      • assertStringNotNullOrEmpty

        protected void assertStringNotNullOrEmpty(String parameterValue,
                                      String errorMessage)
      • assertStringArrayNotNullOrEmpty

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

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

Copyright © 2016. All rights reserved.