类 RestConnectionService

java.lang.Object
cn.warpin.thirdPart.huawei.obs.obs.services.internal.RestConnectionService
直接已知子类:
RestStorageService

public class RestConnectionService extends Object
  • 字段详细资料

  • 构造器详细资料

    • RestConnectionService

      public RestConnectionService()
  • 方法详细资料

    • initHttpClient

      protected void initHttpClient(okhttp3.Dispatcher httpDispatcher, okhttp3.Dns customizedDnsImpl)
    • shutdown

      protected void shutdown()
    • shutdownImpl

      protected void shutdownImpl()
    • invokeShutdown

      private void invokeShutdown()
    • setupConnection

      protected okhttp3.Request.Builder setupConnection(NewTransResult result, boolean isOEF, boolean isListBuckets) throws ServiceException
      抛出:
      ServiceException
    • createRequestBuilder

      private okhttp3.Request.Builder createRequestBuilder(HttpMethodEnum method, okhttp3.RequestBody body, String url)
    • addProtocol

      private String addProtocol(String hostname, String resourceString)
    • addRequestParametersToUrlPath

      protected String addRequestParametersToUrlPath(String urlPath, Map<String,String> requestParameters, boolean isOEF) throws ServiceException
      抛出:
      ServiceException
    • getEndpoint

      protected String getEndpoint()
    • getHttpPort

      protected int getHttpPort()
    • getHttpsPort

      protected int getHttpsPort()
    • isKeepAlive

      protected boolean isKeepAlive()
    • isPathStyle

      protected boolean isPathStyle()
    • isCname

      protected boolean isCname()
    • getHttpsOnly

      protected boolean getHttpsOnly()