|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.baidubce.AbstractBceClient
com.baidubce.services.ses.SesClientSupport
public abstract class SesClientSupport
This class is abstract. It contains all common methods which the SesClient class
should need
| Field Summary | |
|---|---|
protected static Pattern |
DEFAULT_EMAIL_PATTERN
|
protected org.slf4j.Logger |
logger
|
protected static HttpResponseHandler[] |
SES_HANDLERS
|
| Fields inherited from class com.baidubce.AbstractBceClient |
|---|
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX |
| Constructor Summary | |
|---|---|
protected |
SesClientSupport(BceClientConfiguration config,
HttpResponseHandler[] responseHandlers)
|
| Method Summary | |
|---|---|
protected void |
assertListNotNullOrEmpty(List<?> parameterValue,
String errorMessage)
|
protected void |
assertStringArrayNotNullOrEmpty(String[] parameterValue,
String errorMessage)
|
protected void |
assertStringNotNullOrEmpty(String parameterValue,
String errorMessage)
|
protected void |
checkIsEmail(String email)
|
protected void |
checkIsInteger(String str)
|
protected InternalRequest |
createRequest(String resourceKey,
AbstractBceRequest bceRequest,
HttpMethodName httpMethod,
String... pathVariables)
|
protected InternalRequest |
fillRequestPayload(InternalRequest internalRequest,
String strJson)
|
protected String |
getBASE64EncoderStrFromInputStream(InputStream in)
|
| Methods inherited from class com.baidubce.AbstractBceClient |
|---|
getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.slf4j.Logger logger
protected static final Pattern DEFAULT_EMAIL_PATTERN
protected static final HttpResponseHandler[] SES_HANDLERS
| Constructor Detail |
|---|
protected SesClientSupport(BceClientConfiguration config,
HttpResponseHandler[] responseHandlers)
| Method Detail |
|---|
protected InternalRequest createRequest(String resourceKey,
AbstractBceRequest bceRequest,
HttpMethodName httpMethod,
String... pathVariables)
protected InternalRequest fillRequestPayload(InternalRequest internalRequest,
String strJson)
protected void assertStringNotNullOrEmpty(String parameterValue,
String errorMessage)
protected void assertStringArrayNotNullOrEmpty(String[] parameterValue,
String errorMessage)
protected void assertListNotNullOrEmpty(List<?> parameterValue,
String errorMessage)
protected String getBASE64EncoderStrFromInputStream(InputStream in)
throws IOException
IOExceptionprotected void checkIsEmail(String email)
protected void checkIsInteger(String str)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||