跳过导航链接
A B C E G H I L N P R S V 

A

addClient(Class<T>) - 类 中的方法com.wong.support.http.proxy.ClientRegistry
将每个需要的client的Class类信息已经Factory实例加入到map中存放(knownClients)

B

BindException - com.wong.support.http.exception中的异常错误
ClassName BindException Author chenwang Date 2021/9/17 11:15 Description Version 1.0
BindException(String) - 异常错误 的构造器com.wong.support.http.exception.BindException
 
BindException(String, Throwable) - 异常错误 的构造器com.wong.support.http.exception.BindException
 

C

checkBasicType(Class) - 类 中的静态方法com.wong.support.http.Context
 
ClientProxy<T> - com.wong.support.http.proxy中的类
ClassName ClientProxy Author chenwang Date 2021/9/17 10:59 Description client代理实现类 Version 1.0
ClientProxy(Class<T>, Configuration) - 类 的构造器com.wong.support.http.proxy.ClientProxy
 
ClientProxyFactory<T> - com.wong.support.http.proxy中的类
ClassName ClientProxyFactory Author chenwang Date 2021/9/17 11:12 Description client代理工厂类 使用jdk动态代理,返回了一个client代理后的 代理对象ClientProxy,可以对其进行各种增强操作。
ClientProxyFactory(Class<T>) - 类 的构造器com.wong.support.http.proxy.ClientProxyFactory
 
ClientRegistry - com.wong.support.http.proxy中的类
ClassName ClientRegistry Author chenwang Date 2021/9/17 11:11 Description client注册 实现每个client的存放以及获取 Version 1.0
com.wong.support.http - 程序包 com.wong.support.http
 
com.wong.support.http.annotation - 程序包 com.wong.support.http.annotation
 
com.wong.support.http.bean - 程序包 com.wong.support.http.bean
 
com.wong.support.http.configuration - 程序包 com.wong.support.http.configuration
 
com.wong.support.http.exception - 程序包 com.wong.support.http.exception
 
com.wong.support.http.properties - 程序包 com.wong.support.http.properties
 
com.wong.support.http.proxy - 程序包 com.wong.support.http.proxy
 
Configuration - com.wong.support.http中的类
ClassName ClientConfig Author chenwang Date 2021/9/22 16:35 Description Version 1.0
Configuration() - 类 的构造器com.wong.support.http.Configuration
 
Context - com.wong.support.http中的类
ClassName Context Author chenwang Date 2021/9/24 9:40 Description Version 1.0
Context() - 类 的构造器com.wong.support.http.Context
 

E

EnableSupportClients - com.wong.support.http.annotation中的注释类型
ClassName EnableHttpClient Author chenwang Date 2021/9/17 15:10 Description Version 1.0

G

get(Parameter[], Object[], StringBuilder) - 类 中的静态方法com.wong.support.http.Context
 
getBasePackages(AnnotationMetadata) - 类 中的方法com.wong.support.http.SupportClientsRegistrar
扫描basePackages 先找到@EnableSupportClients的basePackages属性上的所有的路径 获取所有的包名
getClient(Class<T>, Configuration) - 类 中的方法com.wong.support.http.proxy.ClientRegistry
获取client对象 将nacosClient信息作为入参,得到一个type类型的client实例对象 但是返回的是一个代理对象。
getInstance() - 类 中的静态方法com.wong.support.http.proxy.ClientRegistry
获取ClientRegistry的实例对象 使用了单例模式创建,存放了所有的client注册信息 双重检查保证创建一次对象。
getScanner() - 类 中的方法com.wong.support.http.SupportClientsRegistrar
创建一个ClassPathScanningCandidateComponentProvider的实例,并且 定义了top-level(是否独立,即顶级类) 关于是否是top-level类可参考 java.lang.Class#getEnclosingClass方法

H

handle(Method, Object[], Configuration) - 类 中的静态方法com.wong.support.http.Context
 
Handler - com.wong.support.http中的类
ClassName Handler Author chenwang Date 2021/9/18 16:58 Description Version 1.0
Handler(HttpMethod, String) - 类 的构造器com.wong.support.http.Handler
 
hasClient(Class<T>) - 类 中的方法com.wong.support.http.proxy.ClientRegistry
判断一个class类型是否已经存放在map集合中
Header - com.wong.support.http.annotation中的注释类型
ClassName HttpClient Author chenwang Date 2021/9/17 15:23 Description Version 1.0
HostPort - com.wong.support.http.bean中的类
ClassName HostPort Author chenwang Date 2021/9/17 17:49 Description Version 1.0
HostPort() - 类 的构造器com.wong.support.http.bean.HostPort
 
HttpMethod - com.wong.support.http中的枚举
 

I

IllegalParamException - com.wong.support.http.exception中的异常错误
ClassName IllegalParamException Author chenwang Date 2021/9/22 16:10 Description Version 1.0
IllegalParamException(String) - 异常错误 的构造器com.wong.support.http.exception.IllegalParamException
 
IllegalParamException(String, Throwable) - 异常错误 的构造器com.wong.support.http.exception.IllegalParamException
 
invoke(Object, Method, Object[]) - 类 中的方法com.wong.support.http.proxy.ClientProxy
 

L

LoadBalanceEnum - com.wong.support.http中的枚举
ClassName LoadBalanceEnum Author chenwang Date 2021/9/24 9:58 Description Version 1.0

N

NacosClient - com.wong.support.http.bean中的类
ClassName NacosClient Author chenwang Date 2021/9/18 9:51 Description Version 1.0
NacosClient() - 类 的构造器com.wong.support.http.bean.NacosClient
 
newInstance(ClientProxy<T>) - 类 中的方法com.wong.support.http.proxy.ClientProxyFactory
 
newInstance(Configuration) - 类 中的方法com.wong.support.http.proxy.ClientProxyFactory
 

P

Param - com.wong.support.http.annotation中的注释类型
ClassName HttpClient Author chenwang Date 2021/9/17 15:23 Description Version 1.0
PathVariable - com.wong.support.http.annotation中的注释类型
ClassName HttpClient Author chenwang Date 2021/9/17 15:23 Description Version 1.0
post(Parameter[], Object[], StringBuilder) - 类 中的静态方法com.wong.support.http.Context
 

R

registerBeanDefinitions(AnnotationMetadata, BeanDefinitionRegistry) - 类 中的方法com.wong.support.http.SupportClientsRegistrar
重写registerBeanDefinitions方法进行bean的自定义注入实现
registerSupportClients(AnnotationMetadata, BeanDefinitionRegistry) - 类 中的方法com.wong.support.http.SupportClientsRegistrar
注册所有的client
Request - com.wong.support.http.annotation中的注释类型
ClassName HttpClient Author chenwang Date 2021/9/17 15:23 Description Version 1.0
RequestBody - com.wong.support.http.annotation中的注释类型
ClassName HttpClient Author chenwang Date 2021/9/17 15:23 Description Version 1.0

S

setBeanFactory(BeanFactory) - 类 中的方法com.wong.support.http.SupportClientsRegistrar
 
setEnvironment(Environment) - 类 中的方法com.wong.support.http.SupportClientsRegistrar
 
setResourceLoader(ResourceLoader) - 类 中的方法com.wong.support.http.SupportClientsRegistrar
 
SupportClient - com.wong.support.http.annotation中的注释类型
ClassName HttpClient Author chenwang Date 2021/9/17 15:23 Description http请求客户端注解类 Version 1.0
SupportClientAutoConfiguration - com.wong.support.http.configuration中的类
ClassName SupportClientAutoConfiguration Author chenwang Date 2021/9/24 9:52 Description Version 1.0
SupportClientAutoConfiguration() - 类 的构造器com.wong.support.http.configuration.SupportClientAutoConfiguration
 
SupportClientProperties - com.wong.support.http.properties中的类
ClassName SupportClientProperties Author chenwang Date 2021/9/24 9:56 Description Version 1.0
SupportClientProperties() - 类 的构造器com.wong.support.http.properties.SupportClientProperties
 
SupportClientsRegistrar - com.wong.support.http中的类
ClassName SupportClientsRegistrar Author chenwang 2021/9/17 15:27 client注册类 实现ImportBeanDefinitionRegistrar并重写其registerBeanDefinitions方法 自定义bean的定义以及加入ioc容器,实现ResourceLoaderAware和EnvironmentAware 获取当前application的一些环境信息,便于扫描需要注入的拥有@SupportCient注解的接口 实现了BeanFactoryAware,将方便获取ioc容器已注入的bean提供使用,比如获取注册在 nacos中/DiscoveryClient 中的应用的serviceId以及他们的host、port。
SupportClientsRegistrar() - 类 的构造器com.wong.support.http.SupportClientsRegistrar
 
SupportGlobalConfigProperties - com.wong.support.http.properties中的类
ClassName SupportClientProperties Author chenwang Date 2021/9/24 9:56 Description Version 1.0
SupportGlobalConfigProperties() - 类 的构造器com.wong.support.http.properties.SupportGlobalConfigProperties
 

V

valueOf(String) - 枚举 中的静态方法com.wong.support.http.HttpMethod
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.wong.support.http.LoadBalanceEnum
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法com.wong.support.http.HttpMethod
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.wong.support.http.LoadBalanceEnum
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
A B C E G H I L N P R S V 
跳过导航链接

Copyright © 2021. All rights reserved.