索引
All Classes and Interfaces|常量字段值|所有程序包|序列化表格
A
- AbstactServiceRouterConvert - com.github.xiaoymin.knife4j.spring.gateway.discover.router中的类
-
服务路由转换接口抽象处理类
- AbstactServiceRouterConvert() - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.discover.router.AbstactServiceRouterConvert
- AbstractBasicAuthFilter - com.github.xiaoymin.knife4j.spring.gateway.filter中的类
-
抽象basic认证过滤器
- AbstractBasicAuthFilter() - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.filter.AbstractBasicAuthFilter
- AbstractOpenAPIResource - com.github.xiaoymin.knife4j.spring.gateway.spec中的类
- AbstractOpenAPIResource(Integer, Boolean) - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.spec.AbstractOpenAPIResource
- add(OpenAPI2Resource) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.discover.ServiceDiscoverHandler
-
添加分组资源
- add(OpenAPI2Resource) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.discover.ServiceRouterHolder
-
添加资源
- addRule(String) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.filter.AbstractBasicAuthFilter
-
添加外部过滤规则,正则表达式
- addRule(Collection<String>) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.filter.AbstractBasicAuthFilter
-
添加外部过滤规则,正则表达式
- alpha - enum class 中的枚举常量 com.github.xiaoymin.knife4j.spring.gateway.enums.GroupOrderStrategy
-
默认排序规则,官方swagger-ui默认实现
- append(String...) - 类中的静态方法 com.github.xiaoymin.knife4j.spring.gateway.utils.PathUtils
- AUTH_HEADER_NAME - 类中的静态变量 com.github.xiaoymin.knife4j.spring.gateway.conf.GlobalConstants
-
校验Basic请求头
B
- BASE_PACKAGE_PREFIX - 类中的静态变量 com.github.xiaoymin.knife4j.spring.gateway.conf.GlobalConstants
-
动态生成class包名前缀
- BASIC - 类中的静态变量 com.github.xiaoymin.knife4j.spring.gateway.filter.AbstractBasicAuthFilter
- BASIC_DEFAULT_PASSWORD - 类中的静态变量 com.github.xiaoymin.knife4j.spring.gateway.conf.GlobalConstants
-
Knife4j provider default password with basic auth.
- BASIC_DEFAULT_USERNAME - 类中的静态变量 com.github.xiaoymin.knife4j.spring.gateway.conf.GlobalConstants
-
Knife4j provider default username with basic auth.
- BASIC_SECURITY_RESPONSE_CODE - 类中的静态变量 com.github.xiaoymin.knife4j.spring.gateway.conf.GlobalConstants
-
响应HTTP状态码
C
- clearService() - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.discover.ServiceRouterHolder
-
每次服务发现处理时,清除已经下线的服务
- com.github.xiaoymin.knife4j.spring.gateway - 程序包 com.github.xiaoymin.knife4j.spring.gateway
- com.github.xiaoymin.knife4j.spring.gateway.conf - 程序包 com.github.xiaoymin.knife4j.spring.gateway.conf
- com.github.xiaoymin.knife4j.spring.gateway.discover - 程序包 com.github.xiaoymin.knife4j.spring.gateway.discover
- com.github.xiaoymin.knife4j.spring.gateway.discover.router - 程序包 com.github.xiaoymin.knife4j.spring.gateway.discover.router
- com.github.xiaoymin.knife4j.spring.gateway.discover.spi - 程序包 com.github.xiaoymin.knife4j.spring.gateway.discover.spi
- com.github.xiaoymin.knife4j.spring.gateway.discover.spi.impl - 程序包 com.github.xiaoymin.knife4j.spring.gateway.discover.spi.impl
- com.github.xiaoymin.knife4j.spring.gateway.endpoint - 程序包 com.github.xiaoymin.knife4j.spring.gateway.endpoint
- com.github.xiaoymin.knife4j.spring.gateway.enums - 程序包 com.github.xiaoymin.knife4j.spring.gateway.enums
- com.github.xiaoymin.knife4j.spring.gateway.filter - 程序包 com.github.xiaoymin.knife4j.spring.gateway.filter
- com.github.xiaoymin.knife4j.spring.gateway.filter.basic - 程序包 com.github.xiaoymin.knife4j.spring.gateway.filter.basic
- com.github.xiaoymin.knife4j.spring.gateway.spec - 程序包 com.github.xiaoymin.knife4j.spring.gateway.spec
- com.github.xiaoymin.knife4j.spring.gateway.spec.v2 - 程序包 com.github.xiaoymin.knife4j.spring.gateway.spec.v2
- com.github.xiaoymin.knife4j.spring.gateway.spec.v3 - 程序包 com.github.xiaoymin.knife4j.spring.gateway.spec.v3
- com.github.xiaoymin.knife4j.spring.gateway.utils - 程序包 com.github.xiaoymin.knife4j.spring.gateway.utils
- compareTo(AbstractOpenAPIResource) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.spec.AbstractOpenAPIResource
- CONFIG - enum class 中的枚举常量 com.github.xiaoymin.knife4j.spring.gateway.enums.GatewayRouterStrategy
-
基于gateway配置routes,spring.gateway.routes的方式
- configRouteServiceConvert(GatewayProperties, Knife4jGatewayProperties) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.Knife4jGatewayAutoConfiguration.Knife4jDiscoverConfiguration
-
基于Spring Cloud Gateway配置的路由策略
- ConfigRouteServiceConvert - com.github.xiaoymin.knife4j.spring.gateway.discover.router中的类
-
基于Spring Cloud Gateway配置的routes规则解析子服务路由,数据来源:spring.cloud.gateway.routes
- ConfigRouteServiceConvert() - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.discover.router.ConfigRouteServiceConvert
- contextPathNull(String) - 类中的静态方法 com.github.xiaoymin.knife4j.spring.gateway.utils.PathUtils
-
判断ContextPath非空,并且不等于"/"字符串
- copy() - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.spec.v2.OpenAPI2Resource
-
赋值一个新对象
- CORS_MAX_AGE - 类中的静态变量 com.github.xiaoymin.knife4j.spring.gateway.conf.GlobalConstants
-
Cors max_age
- CUSTOM - enum class 中的枚举常量 com.github.xiaoymin.knife4j.spring.gateway.enums.GatewayRouterStrategy
-
knife4j自定义配置的routes规则,排序最后,rule规则为空,因为是从knife4j.gateway.routes数据中进行读取
- customerServiceConvert(Knife4jGatewayProperties) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.Knife4jGatewayAutoConfiguration.Knife4jDiscoverConfiguration
-
基于Knife4j在discover模式下默认配置的routes规则,添加
- CustomerServiceConvert - com.github.xiaoymin.knife4j.spring.gateway.discover.router中的类
-
在discover服务发现场景下,针对自定义添加的routes,默认再次追加,数据来源:knife4j.gateway.routes
- CustomerServiceConvert() - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.discover.router.CustomerServiceConvert
D
- decodeBase64(String) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.filter.AbstractBasicAuthFilter
-
base64解码
- DEFAULT_API_PATH_PREFIX - 类中的静态变量 com.github.xiaoymin.knife4j.spring.gateway.conf.GlobalConstants
- DEFAULT_BLOCK_TIME - 类中的静态变量 com.github.xiaoymin.knife4j.spring.gateway.conf.GlobalConstants
-
默认阻塞时间
- DEFAULT_CONTEXT_PATH - 类中的静态变量 com.github.xiaoymin.knife4j.spring.gateway.utils.PathUtils
- DEFAULT_GROUP_NAME - 类中的静态变量 com.github.xiaoymin.knife4j.spring.gateway.conf.GlobalConstants
-
默认分组名称
- DEFAULT_OPEN_API_V2_PATH - 类中的静态变量 com.github.xiaoymin.knife4j.spring.gateway.conf.GlobalConstants
- DEFAULT_OPEN_API_V3_PATH - 类中的静态变量 com.github.xiaoymin.knife4j.spring.gateway.conf.GlobalConstants
- DEFAULT_ORDER - 类中的静态变量 com.github.xiaoymin.knife4j.spring.gateway.conf.GlobalConstants
-
默认排序值
- DEFAULT_SWAGGER2_APPEND_PATH - 类中的静态变量 com.github.xiaoymin.knife4j.spring.gateway.conf.GlobalConstants
-
swagger2接口默认待拼接的地址
- defaultGatewayServiceExcludeService() - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.Knife4jGatewayAutoConfiguration.Knife4jDiscoverConfiguration
- DefaultGatewayServiceExcludeService - com.github.xiaoymin.knife4j.spring.gateway.discover.spi.impl中的类
-
默认排除规则
- DefaultGatewayServiceExcludeService() - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.discover.spi.impl.DefaultGatewayServiceExcludeService
- defaultTo(String, String) - 类中的静态方法 com.github.xiaoymin.knife4j.spring.gateway.utils.StrUtil
-
判断当前内容是否非空,如果是空,这用默认值替换
- discover() - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.discover.ServiceChangeListener
- discover(List<String>) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.discover.ServiceDiscoverHandler
-
处理注册中心的服务(通过解析路由配置)
- Discover() - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.Knife4jGatewayProperties.Discover
- DISCOVER - enum class 中的枚举常量 com.github.xiaoymin.knife4j.spring.gateway.enums.GatewayStrategy
-
服务发现(自动聚合)
- discoverClientRouteServiceConvert(DiscoveryClientRouteDefinitionLocator, Knife4jGatewayProperties) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.Knife4jGatewayAutoConfiguration.Knife4jDiscoverConfiguration.ReactiveDiscoveryClientRouteDefinitionLocatorConfiguration
- DiscoverClientRouteServiceConvert - com.github.xiaoymin.knife4j.spring.gateway.discover.router中的类
-
服务发现discover模式下,开发者在网关成的路由转发模式默认通过
DiscoveryClient的默认方式转发路由,规则是pattern:/service-id/** - DiscoverClientRouteServiceConvert() - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.discover.router.DiscoverClientRouteServiceConvert
- discovered - 类中的变量 com.github.xiaoymin.knife4j.spring.gateway.spec.AbstractOpenAPIResource
- DYNAMIC - enum class 中的枚举常量 com.github.xiaoymin.knife4j.spring.gateway.enums.GatewayRouterStrategy
-
动态注入路由的方式
- dynamicRouteServiceConvert(RouteDefinitionRepository, Knife4jGatewayProperties) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.Knife4jGatewayAutoConfiguration.Knife4jDiscoverConfiguration
-
动态网关路由配置
- DynamicRouteServiceConvert - com.github.xiaoymin.knife4j.spring.gateway.discover.router中的类
-
接收编码方式动态注入Spring Cloud Gateway网关的路由,进行聚合转发
- DynamicRouteServiceConvert() - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.discover.router.DynamicRouteServiceConvert
E
- EMPTY_STR - 类中的静态变量 com.github.xiaoymin.knife4j.spring.gateway.conf.GlobalConstants
-
空字符串
- EnvironmentUtils - com.github.xiaoymin.knife4j.spring.gateway.utils中的类
- EnvironmentUtils() - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.utils.EnvironmentUtils
- equals(Object) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.spec.AbstractOpenAPIResource
- equals(Object) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.spec.v2.OpenAPI2Resource
- exclude(Environment, Knife4jGatewayProperties, List<String>) - 接口中的方法 com.github.xiaoymin.knife4j.spring.gateway.discover.spi.GatewayServiceExcludeService
-
获取要排除的服务列表
- exclude(Environment, Knife4jGatewayProperties, List<String>) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.discover.spi.impl.DefaultGatewayServiceExcludeService
- excludeServices(String, Collection<String>) - 类中的静态方法 com.github.xiaoymin.knife4j.spring.gateway.utils.ServiceUtils
-
判断当前服务是否在排除服务列表中
- EXTENSION_NAME - 类中的静态变量 com.github.xiaoymin.knife4j.spring.gateway.conf.GlobalConstants
-
Knife4j增强扩展属性名称
- EXTENSION_OPEN_API_NAME - 类中的静态变量 com.github.xiaoymin.knife4j.spring.gateway.conf.GlobalConstants
-
Knife4j增强扩展属性名称
- EXTENSION_OPEN_MARKDOWN_NAME - 类中的静态变量 com.github.xiaoymin.knife4j.spring.gateway.conf.GlobalConstants
-
Knife4j增强扩展配置属性
- EXTENSION_OPEN_SETTING_NAME - 类中的静态变量 com.github.xiaoymin.knife4j.spring.gateway.conf.GlobalConstants
-
Knife4j增强扩展配置属性
F
- filter(ServerWebExchange, WebFilterChain) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.filter.basic.WebFluxSecurityBasicAuthFilter
- FORBIDDEN_CUSTOM_CODE - 类中的静态变量 com.github.xiaoymin.knife4j.spring.gateway.conf.GlobalConstants
-
生产环境屏蔽后自定义响应HTTP状态码
G
- GatewayRouterStrategy - com.github.xiaoymin.knife4j.spring.gateway.enums中的Enum Class
-
Spring Cloud Gateway路由策略
- GatewayServiceExcludeService - com.github.xiaoymin.knife4j.spring.gateway.discover.spi中的接口
-
网关聚合服务中,排除聚合规则
- GatewayStrategy - com.github.xiaoymin.knife4j.spring.gateway.enums中的Enum Class
-
网关文档聚合方式
- getContextPath(String) - 类中的静态方法 com.github.xiaoymin.knife4j.spring.gateway.utils.PathUtils
- getDefaultContextPath(ServerHttpRequest) - 类中的静态方法 com.github.xiaoymin.knife4j.spring.gateway.utils.PathUtils
-
获取默认请求ContextPath路径
- getName() - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.spec.AbstractOpenAPIResource
- getOpenAPIURL(Knife4jGatewayProperties.Discover, String, String) - 类中的静态方法 com.github.xiaoymin.knife4j.spring.gateway.utils.ServiceUtils
-
根据OpenAPI规范及分组名称不同获取不同的默认地址
- getResources(String) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.discover.ServiceDiscoverHandler
-
获取所有OpenAPI资源列表
- getUrl() - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.Knife4jGatewayProperties.Discover
-
获取当前服务的URL,根据用户指定的版本类型获取
- GlobalConstants - com.github.xiaoymin.knife4j.spring.gateway.conf中的类
- GlobalConstants() - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.conf.GlobalConstants
- GroupOrderStrategy - com.github.xiaoymin.knife4j.spring.gateway.enums中的Enum Class
-
排序规则
H
- hashCode() - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.spec.AbstractOpenAPIResource
- hashCode() - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.spec.v2.OpenAPI2Resource
I
- includeService(URI, Collection<String>, Collection<String>) - 类中的静态方法 com.github.xiaoymin.knife4j.spring.gateway.utils.ServiceUtils
-
判断是否包含服务
- isBlank(CharSequence) - 类中的静态方法 com.github.xiaoymin.knife4j.spring.gateway.utils.StrUtil
- isBlankChar(int) - 类中的静态方法 com.github.xiaoymin.knife4j.spring.gateway.utils.StrUtil
- isNotBlank(CharSequence) - 类中的静态方法 com.github.xiaoymin.knife4j.spring.gateway.utils.StrUtil
K
- KNIFE4J_BASIC_AUTH_SESSION - 类中的静态变量 com.github.xiaoymin.knife4j.spring.gateway.conf.GlobalConstants
-
basic auth验证
- Knife4jDiscoverConfiguration() - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.Knife4jGatewayAutoConfiguration.Knife4jDiscoverConfiguration
- Knife4jGatewayAutoConfiguration - com.github.xiaoymin.knife4j.spring.gateway中的类
- Knife4jGatewayAutoConfiguration(Environment) - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.Knife4jGatewayAutoConfiguration
- Knife4jGatewayAutoConfiguration.Knife4jDiscoverConfiguration - com.github.xiaoymin.knife4j.spring.gateway中的类
- Knife4jGatewayAutoConfiguration.Knife4jDiscoverConfiguration.ReactiveDiscoveryClientRouteDefinitionLocatorConfiguration - com.github.xiaoymin.knife4j.spring.gateway中的类
-
在依赖DiscoverClient模式自动聚合路由的场景下,才注入
DiscoverClientRouteServiceConvert处理方法 - Knife4jGatewayHttpBasic - com.github.xiaoymin.knife4j.spring.gateway中的类
-
HTTP basic properties
- Knife4jGatewayHttpBasic() - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.Knife4jGatewayHttpBasic
- Knife4jGatewayProperties - com.github.xiaoymin.knife4j.spring.gateway中的类
- Knife4jGatewayProperties() - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.Knife4jGatewayProperties
- Knife4jGatewayProperties.Discover - com.github.xiaoymin.knife4j.spring.gateway中的类
-
服务发现策略配置
- Knife4jGatewayProperties.OpenApiV2 - com.github.xiaoymin.knife4j.spring.gateway中的类
-
Swagger2规范的个性化配置
- Knife4jGatewayProperties.OpenApiV3 - com.github.xiaoymin.knife4j.spring.gateway中的类
-
OpenAPI3规范的个性化配置
- Knife4jGatewayProperties.Router - com.github.xiaoymin.knife4j.spring.gateway中的类
-
自定义接口路由
- Knife4jGatewayProperties.ServiceConfigInfo - com.github.xiaoymin.knife4j.spring.gateway中的类
-
服务个性化配置
M
- MANUAL - enum class 中的枚举常量 com.github.xiaoymin.knife4j.spring.gateway.enums.GatewayStrategy
-
手动配置路由
- match(String) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.filter.AbstractBasicAuthFilter
-
判断是否匹配
O
- OpenAPI2Resource - com.github.xiaoymin.knife4j.spring.gateway.spec.v2中的类
- OpenAPI2Resource(Knife4jGatewayProperties.Router) - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.spec.v2.OpenAPI2Resource
-
基于Router配置对象构建接口Resource
- OpenAPI2Resource(Integer, Boolean) - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.spec.v2.OpenAPI2Resource
- OpenAPI2Resource(String, int, boolean, String, String) - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.spec.v2.OpenAPI2Resource
-
基于参数配置构建Resource对象
- OpenAPI2Resource(String, int, boolean, String, String, String) - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.spec.v2.OpenAPI2Resource
-
增加服务名称
- OpenAPI3 - enum class 中的枚举常量 com.github.xiaoymin.knife4j.spring.gateway.enums.OpenApiVersion
-
OpenAPI3规范,参考:OpenAPI3规范
- OpenAPI3Response - com.github.xiaoymin.knife4j.spring.gateway.spec.v3中的类
- OpenAPI3Response() - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.spec.v3.OpenAPI3Response
- OpenAPIEndpoint - com.github.xiaoymin.knife4j.spring.gateway.endpoint中的类
- OpenAPIEndpoint() - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.endpoint.OpenAPIEndpoint
- OpenApiV2() - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.Knife4jGatewayProperties.OpenApiV2
- OpenApiV3() - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.Knife4jGatewayProperties.OpenApiV3
- OpenApiVersion - com.github.xiaoymin.knife4j.spring.gateway.enums中的Enum Class
- order - enum class 中的枚举常量 com.github.xiaoymin.knife4j.spring.gateway.enums.GroupOrderStrategy
-
Knife4j提供的增强排序规则,开发者可扩展x-order,根据数值来自定义排序
- order - 类中的变量 com.github.xiaoymin.knife4j.spring.gateway.spec.AbstractOpenAPIResource
- order() - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.discover.router.ConfigRouteServiceConvert
- order() - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.discover.router.CustomerServiceConvert
- order() - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.discover.router.DiscoverClientRouteServiceConvert
- order() - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.discover.router.DynamicRouteServiceConvert
- order() - 接口中的方法 com.github.xiaoymin.knife4j.spring.gateway.discover.ServiceRouterConvert
-
处理顺序
P
- parseRouteDefinition(ServiceRouterHolder, List<PredicateDefinition>, String, String) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.discover.router.AbstactServiceRouterConvert
-
解析gateway的路由定义
- PathUtils - com.github.xiaoymin.knife4j.spring.gateway.utils中的类
- process(ServiceRouterHolder) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.discover.router.ConfigRouteServiceConvert
- process(ServiceRouterHolder) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.discover.router.CustomerServiceConvert
- process(ServiceRouterHolder) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.discover.router.DiscoverClientRouteServiceConvert
- process(ServiceRouterHolder) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.discover.router.DynamicRouteServiceConvert
- process(ServiceRouterHolder) - 接口中的方法 com.github.xiaoymin.knife4j.spring.gateway.discover.ServiceRouterConvert
-
处理gateway的路由,在服务发现模式下自动转换为Knife4j-gateway前端所需要分组内容
- processContextPath(String) - 类中的静态方法 com.github.xiaoymin.knife4j.spring.gateway.utils.PathUtils
-
数据校验,主要是针对ContextPath属性,两个要求: 1、如果ContextPath值为"/",那么置为空字符串 2、如果ContextPath值以"/"结尾,那么去除结尾的"/"字符 主要的作用:防止在Knife4j的界面接口中,追加显示"/"字符
- PROTOCOL_HTTP - 类中的静态变量 com.github.xiaoymin.knife4j.spring.gateway.conf.GlobalConstants
-
HTTP Schema
- PROTOCOL_HTTPS - 类中的静态变量 com.github.xiaoymin.knife4j.spring.gateway.conf.GlobalConstants
-
HTTPS Schema
R
- REACTIVE - enum class 中的枚举常量 com.github.xiaoymin.knife4j.spring.gateway.enums.GatewayRouterStrategy
-
基于discoverClient客户端默认发现,配置的默认规则,路由keys为:pattern正则
- ReactiveDiscoveryClientRouteDefinitionLocatorConfiguration() - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.Knife4jGatewayAutoConfiguration.Knife4jDiscoverConfiguration.ReactiveDiscoveryClientRouteDefinitionLocatorConfiguration
- remove(String) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.discover.ServiceDiscoverHandler
-
根据服务名称下线,作用于discover模式下
- resolveBool(Environment, String, Boolean) - 类中的静态方法 com.github.xiaoymin.knife4j.spring.gateway.utils.EnvironmentUtils
-
获取bool值
- resolveInt(Environment, String, Integer) - 类中的静态方法 com.github.xiaoymin.knife4j.spring.gateway.utils.EnvironmentUtils
-
获取int类型的值
- resolveString(Environment, String, String) - 类中的静态方法 com.github.xiaoymin.knife4j.spring.gateway.utils.EnvironmentUtils
-
get String property
- Router() - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.Knife4jGatewayProperties.Router
- ROUTER_PATH_NAME - 类中的静态变量 com.github.xiaoymin.knife4j.spring.gateway.conf.GlobalConstants
-
获取gateway断言的规则名称
S
- securityBasicAuthFilter(Knife4jGatewayProperties) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.Knife4jGatewayAutoConfiguration
-
Security with Basic Http
- serviceChangeListener(DiscoveryClient, ServiceDiscoverHandler, Knife4jGatewayProperties) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.Knife4jGatewayAutoConfiguration.Knife4jDiscoverConfiguration
-
Service Listener
- ServiceChangeListener - com.github.xiaoymin.knife4j.spring.gateway.discover中的类
- ServiceChangeListener() - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.discover.ServiceChangeListener
- ServiceConfigInfo() - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.Knife4jGatewayProperties.ServiceConfigInfo
- serviceDiscoverHandler(Knife4jGatewayProperties) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.Knife4jGatewayAutoConfiguration.Knife4jDiscoverConfiguration
- ServiceDiscoverHandler - com.github.xiaoymin.knife4j.spring.gateway.discover中的类
- ServiceDiscoverHandler(Knife4jGatewayProperties) - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.discover.ServiceDiscoverHandler
- ServiceRouterConvert - com.github.xiaoymin.knife4j.spring.gateway.discover中的接口
-
服务路由转换接口
- ServiceRouterHolder - com.github.xiaoymin.knife4j.spring.gateway.discover中的类
- ServiceRouterHolder() - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.discover.ServiceRouterHolder
- ServiceUtils - com.github.xiaoymin.knife4j.spring.gateway.utils中的类
-
在服务发现(Discover)场景下的聚合辅助工具类
- ServiceUtils() - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.utils.ServiceUtils
- setApplicationContext(ApplicationContext) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.discover.ServiceDiscoverHandler
- setEnvironment(Environment) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.discover.ServiceDiscoverHandler
- startLoadBalance(URI) - 类中的静态方法 com.github.xiaoymin.knife4j.spring.gateway.utils.ServiceUtils
-
判断服务路由是否负载配置
- StrUtil - com.github.xiaoymin.knife4j.spring.gateway.utils中的类
- StrUtil() - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.utils.StrUtil
- Swagger2 - enum class 中的枚举常量 com.github.xiaoymin.knife4j.spring.gateway.enums.OpenApiVersion
-
Swagger2规范,参考:Swagger2规范
- swaggerConfig(ServerHttpRequest) - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.endpoint.OpenAPIEndpoint
-
OpenAPI Group Endpoint
T
- toString() - 类中的方法 com.github.xiaoymin.knife4j.spring.gateway.spec.v2.OpenAPI2Resource
U
- urlFilters - 类中的变量 com.github.xiaoymin.knife4j.spring.gateway.filter.AbstractBasicAuthFilter
V
- valueOf(String) - enum class中的静态方法 com.github.xiaoymin.knife4j.spring.gateway.enums.GatewayRouterStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - enum class中的静态方法 com.github.xiaoymin.knife4j.spring.gateway.enums.GatewayStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - enum class中的静态方法 com.github.xiaoymin.knife4j.spring.gateway.enums.GroupOrderStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - enum class中的静态方法 com.github.xiaoymin.knife4j.spring.gateway.enums.OpenApiVersion
-
Returns the enum constant of this class with the specified name.
- values() - enum class中的静态方法 com.github.xiaoymin.knife4j.spring.gateway.enums.GatewayRouterStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - enum class中的静态方法 com.github.xiaoymin.knife4j.spring.gateway.enums.GatewayStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - enum class中的静态方法 com.github.xiaoymin.knife4j.spring.gateway.enums.GroupOrderStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - enum class中的静态方法 com.github.xiaoymin.knife4j.spring.gateway.enums.OpenApiVersion
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WebFluxSecurityBasicAuthFilter - com.github.xiaoymin.knife4j.spring.gateway.filter.basic中的类
-
basic认证过滤器
- WebFluxSecurityBasicAuthFilter() - 类的构造器 com.github.xiaoymin.knife4j.spring.gateway.filter.basic.WebFluxSecurityBasicAuthFilter
All Classes and Interfaces|常量字段值|所有程序包|序列化表格