类 SesClientSupport
- java.lang.Object
-
- com.baidubce.AbstractBceClient
-
- com.baidubce.services.ses.SesClientSupport
-
- 直接已知子类:
SesClient
public abstract class SesClientSupport extends AbstractBceClient
This class is abstract. It contains all common methods which theSesClientclass should need.
-
-
字段概要
字段 修饰符和类型 字段 说明 protected static PatternDEFAULT_EMAIL_PATTERNprotected org.slf4j.Loggerloggerprotected static HttpResponseHandler[]SES_HANDLERS-
从类继承的字段 com.baidubce.AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX
-
-
构造器概要
构造器 限定符 构造器 说明 protectedSesClientSupport(BceClientConfiguration config, HttpResponseHandler[] responseHandlers)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voidassertListNotNullOrEmpty(List<?> parameterValue, String errorMessage)protected voidassertStringArrayNotNullOrEmpty(String[] parameterValue, String errorMessage)protected voidassertStringNotNullOrEmpty(String parameterValue, String errorMessage)protected voidcheckIsEmail(String email)protected voidcheckIsInteger(String str)protected InternalRequestcreateRequest(String resourceKey, AbstractBceRequest bceRequest, HttpMethodName httpMethod, String... pathVariables)protected InternalRequestfillRequestPayload(InternalRequest internalRequest, String strJson)protected StringgetBASE64EncoderStrFromInputStream(InputStream in)-
从类继承的方法 com.baidubce.AbstractBceClient
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown
-
-
-
-
字段详细资料
-
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
- 抛出:
IOException
-
checkIsEmail
protected void checkIsEmail(String email)
-
checkIsInteger
protected void checkIsInteger(String str)
-
-