com.baidubce.services.ses
Class SesClientSupport
java.lang.Object
com.baidubce.AbstractBceClient
com.baidubce.services.ses.SesClientSupport
- Direct Known Subclasses:
- SesClient
public abstract class SesClientSupport
- extends AbstractBceClient
This class is abstract. It contains all common methods which the SesClient
class
should need.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.slf4j.Logger logger
DEFAULT_EMAIL_PATTERN
protected static final Pattern DEFAULT_EMAIL_PATTERN
SES_HANDLERS
protected static final HttpResponseHandler[] SES_HANDLERS
SesClientSupport
protected SesClientSupport(BceClientConfiguration config,
HttpResponseHandler[] responseHandlers)
createRequest
protected InternalRequest createRequest(String resourceKey,
AbstractBceRequest bceRequest,
HttpMethodName httpMethod,
String... pathVariables)
fillRequestPayload
protected InternalRequest fillRequestPayload(InternalRequest internalRequest,
String strJson)
assertStringNotNullOrEmpty
protected void assertStringNotNullOrEmpty(String parameterValue,
String errorMessage)
assertStringArrayNotNullOrEmpty
protected void assertStringArrayNotNullOrEmpty(String[] parameterValue,
String errorMessage)
assertListNotNullOrEmpty
protected void assertListNotNullOrEmpty(List<?> parameterValue,
String errorMessage)
getBASE64EncoderStrFromInputStream
protected String getBASE64EncoderStrFromInputStream(InputStream in)
throws IOException
- Throws:
IOException
checkIsEmail
protected void checkIsEmail(String email)
checkIsInteger
protected void checkIsInteger(String str)
Copyright © 2018. All rights reserved.