feignClient
2017-09-29 16:22:02 0 举报
feignClient 基础类图
作者其他创作
大纲/内容
FeignRibbonClientAutoConfiguration
org.springframework.cloud.netflix.feign.support
FeignClientEncodingProperties
+ minRequestSize:int=2048+ mimeTypes:String[] ={\"text/xml\
FeignClientFactoryBean
# feign(FeignContext):Feign.Builder+ getObject():Object
FeignRetryPolicy
+ request:HttpRequest+ serviceId:String
+ canRetry(RetryContext):boolean
OkHttpFeignLoadBalancedConfiguration
LoadBalancerFeignClient
- delegate:Client- lbClientFactory:CachingSpringLoadBalancerFactory- clientFactory:SpringClientFactory
org.springframework.cloud.netflix.feign.annotation
HystrixTargeter
DefaultFeignLoggerFactory
+ logger:Logger
+ create(Class):Logger
SpringMvcContract
- ACCEPT:String= \"Accept\"- CONTENT_TYPE:String = \"Content-Type\
HttpClientFeignLoadBalancedConfiguration
RequestHeaderParameterProcessor
FeignLoggerFactory
FeignLoadBalancer
# connectTimeout:int# readTimeout:int# clientConfig:IClientConfig# serverIntrospector:ServerIntrospector
org.springframework.cloud.netflix.feign.ribbon
DefaultFeignLoadBalancedConfiguration
FeignFormatterRegistrar
org.springframework.cloud.netflix.feign
FeignContentGzipEncodingInterceptor
+ apply(RequestTemplate):void- requiresCompression(RequestTemplate):boolean- contentLengthExceedThreshold(Collection):void- matchesMimeType(Collection)
HttpEncoding
FeignAcceptGzipEncodingAutoConfiguration
+ feignAcceptGzipEncodingInterceptor(FeignClientEncodingProperties):FeignAcceptGzipEncodingInterceptor
FallbackCommand
- result:T
# run:T
SpringEncoder
- objectFactory:ObjectFactory
FeignClientsRegistrar
+ resourceLoader:ResourceLoader+ classLoader:ClassLoader+ environment:Environment
FeignClientSpecification
+ name:String+ configuration:Class[]
BaseRequestInterceptor
+ properties:FeignClientEncodingProperties
CachingSpringLoadBalancerFactory
- factory:SpringClientFactory- loadBalancedRetryPolicyFactory:LoadBalancedRetryPolicyFactory- enableRetry:boolean
+ create(String):FeignLoadBalancer
FeignAutoConfiguration
RetryableFeignLoadBalancer
+ loadBalancedRetryPolicyFactory:LoadBalancedRetryPolicyFactory
DefaultTargeter
PathVariableParameterProcessor
- ANNOTATION:Class
AnnotatedParameterProcessor
FeignContext
org.springframework.cloud.netflix.feign.encoding
AnnotatedParameterContext
FeignClientsConfiguration
FeignUtils
getHttpHeaders(Map):HttpHeadersgetHeaders(HttpHeaders):Map
FeignContentGzipEncodingAutoConfiguration
+ feignContentGzipEncodingInterceptor(FeignClientEncodingProperties):FeignContentGzipEncodingInterceptor
SpringDecoder
ResponseEntityDecoder
RequestParamParameterProcessor
FeignClient
+ value():String+ serviceId():String+ name():String+ url():String+ decode404():boolean+ configuration():Class[]+ fallback():Class+ fallbackFactory():Class+ path():String+ primary():boolean
EnableFeignClients
+ value():String[]+ basePackages():String[]+ basePackageClasses():String[]+ defaultConfiguration():Class[]+ clients():Class[]
Targeter
FeignAcceptGzipEncodingInterceptor
+ apply(RequestTemplate):void
0 条评论
下一页