public abstract class AbstractRuleEngineBceClient extends AbstractBceClient
| Modifier and Type | Field and Description |
|---|---|
protected static HttpResponseHandler[] |
HANDLERS
Responsible for handling HttpResponse from all rule engine service calls.
|
config, DEFAULT_CONTENT_TYPE, DEFAULT_SERVICE_DOMAIN, URL_PREFIX| Constructor and Description |
|---|
AbstractRuleEngineBceClient(BceClientConfiguration configuration,
HttpResponseHandler[] responseHandlers) |
| Modifier and Type | Method and Description |
|---|---|
protected InternalRequest |
createRequest(AbstractBceRequest bceRequest,
HttpMethodName httpMethod,
String... pathVariables) |
protected InternalRequest |
createRequest(URI endpoint,
AbstractBceRequest bceRequest,
HttpMethodName httpMethod,
SignOptions signOptions,
String... pathVariables) |
protected void |
fillInHeadAndBody(AbstractBceRequest bceRequest,
InternalRequest request) |
protected void |
fillInHeadAndBodyForGzip(InternalRequest request,
byte[] bytes) |
protected Date |
getTimestampInThisMinute() |
protected byte[] |
toGzipBytes(FeedMessageRequest request) |
protected byte[] |
toJson(AbstractBceRequest bceRequest) |
computeServiceId, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdownprotected static final HttpResponseHandler[] HANDLERS
public AbstractRuleEngineBceClient(BceClientConfiguration configuration, HttpResponseHandler[] responseHandlers)
protected byte[] toGzipBytes(FeedMessageRequest request)
protected InternalRequest createRequest(AbstractBceRequest bceRequest, HttpMethodName httpMethod, String... pathVariables)
protected InternalRequest createRequest(URI endpoint, AbstractBceRequest bceRequest, HttpMethodName httpMethod, SignOptions signOptions, String... pathVariables)
protected Date getTimestampInThisMinute()
protected void fillInHeadAndBody(AbstractBceRequest bceRequest, InternalRequest request)
protected void fillInHeadAndBodyForGzip(InternalRequest request, byte[] bytes)
protected byte[] toJson(AbstractBceRequest bceRequest)
Copyright © 2020. All rights reserved.