类 FeignClient

java.lang.Object
feign.Client.Default
com.cdkjframework.cloud.client.FeignClient
所有已实现的接口:
feign.Client

public class FeignClient extends feign.Client.Default
  • 嵌套类概要

    从接口继承的嵌套类/接口 feign.Client

    feign.Client.Default, feign.Client.Proxied
  • 构造器概要

    构造器
    构造器
    说明
    FeignClient(SSLSocketFactory sslContextFactory, HostnameVerifier hostnameVerifier, FeignService feignService)
    创建一个新的客户端,默认情况下会禁用请求缓冲。
  • 方法概要

    修饰符和类型
    方法
    说明
    feign.Response
    execute(feign.Request request, feign.Request.Options options)
    执行给定的请求。

    从类继承的方法 feign.Client.Default

    getConnection

    从类继承的方法 java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • FeignClient

      public FeignClient(SSLSocketFactory sslContextFactory, HostnameVerifier hostnameVerifier, FeignService feignService)
      创建一个新的客户端,默认情况下会禁用请求缓冲。
      参数:
      sslContextFactory - SSLSocketFactory用于安全的https URL连接。
      hostnameVerifier - 主机名验证器。
      feignService - Feign服务接口
  • 方法详细资料

    • execute

      public feign.Response execute(feign.Request request, feign.Request.Options options) throws IOException
      执行给定的请求。
      指定者:
      execute 在接口中 feign.Client
      覆盖:
      execute 在类中 feign.Client.Default
      参数:
      request - 请求
      options - 应用于此请求的选项。
      返回:
      返回响应
      抛出:
      IOException - IO异常