パッケージ com.linecorp.bot.client

クラス ManageAudienceBlobClientBuilder


  • public class ManageAudienceBlobClientBuilder
    extends java.lang.Object
    • メソッドの詳細

      • okHttpClientBuilder

        public ManageAudienceBlobClientBuilder okHttpClientBuilder​(@NonNull
                                                                   okhttp3.OkHttpClient.Builder okHttpClientBuilder,
                                                                   boolean addAuthenticationHeader)
        Set customized OkHttpClient.Builder.

        In case of you need your own customized OkHttpClient, this builder allows specify OkHttpClient.Builder instance.

        To use this method, please add dependency to 'com.squareup.retrofit2:retrofit'.

        パラメータ:
        addAuthenticationHeader - If it's true, the default authentication headers will be attached to all requests. Otherwise if it's false, you should insert your own authentication headers by yourself.
      • toString

        public java.lang.String toString()
        オーバーライド:
        toString クラス内 java.lang.Object
      • retrofitBuilder

        public ManageAudienceBlobClientBuilder retrofitBuilder​(retrofit2.Retrofit.Builder retrofitBuilder)
        Custom Retrofit.Builder used internally.

        If you want to use your own setting, specify Retrofit.Builder instance. Default builder is used in case of null (default).

        To use this method, please add dependency to 'com.squareup.retrofit2:retrofit'.

        戻り値:
        this.
        関連項目:
        createDefaultRetrofitBuilder()
      • addAuthenticationHeader

        public ManageAudienceBlobClientBuilder addAuthenticationHeader​(boolean addAuthenticationHeader)
        Add authentication header.

        Default = true. If you manage authentication header yourself, set to false.

        戻り値:
        this.
      • additionalInterceptors

        public ManageAudienceBlobClientBuilder additionalInterceptors​(java.util.List<okhttp3.Interceptor> additionalInterceptors)
        Custom interceptors.

        You can add your own interceptors.

        Note: Authentication interceptor is automatically added by default.

        戻り値:
        this.
        関連項目:
        addAuthenticationHeader(boolean)