JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
B
C
D
F
G
H
I
M
P
R
S
T
V
A
ApiDocBuilder
- Class in
cn.torna.swaggerplugin.builder
解析文档信息
ApiDocBuilder()
- Constructor for class cn.torna.swaggerplugin.builder.
ApiDocBuilder
ApiDocBuilder(Map<String, Class<?>>, TornaConfig)
- Constructor for class cn.torna.swaggerplugin.builder.
ApiDocBuilder
ApiModelPropertyWrapper
- Class in
cn.torna.swaggerplugin.bean
ApiModelPropertyWrapper(ApiModelProperty, Field)
- Constructor for class cn.torna.swaggerplugin.bean.
ApiModelPropertyWrapper
ApiParamInfo
- Class in
cn.torna.swaggerplugin.bean
ApiParamInfo()
- Constructor for class cn.torna.swaggerplugin.bean.
ApiParamInfo
ApiParamWrapper
- Class in
cn.torna.swaggerplugin.bean
ApiParamWrapper(ApiParam)
- Constructor for class cn.torna.swaggerplugin.bean.
ApiParamWrapper
appendGenericParamMap(Map<String, Class<?>>, Type)
- Static method in class cn.torna.swaggerplugin.util.
PluginUtil
将泛型实际参数存储到genericParamMap中。
Result
> key: xxx.Result.T value: Page.class key: xxx.Page.T value: Order.class
B
bindJarClassFields(Class<?>, List<FieldDocInfo>)
- Method in class cn.torna.swaggerplugin.builder.
ApiDocBuilder
Booleans
- Class in
cn.torna.swaggerplugin.bean
Booleans()
- Constructor for class cn.torna.swaggerplugin.bean.
Booleans
buildApiImplicitParams(Method, SwaggerPluginService.ParamFilter)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
buildAuthor(ApiOperation)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
buildContentType()
- Method in class cn.torna.swaggerplugin.builder.
MvcRequestInfoBuilder
buildContentType()
- Method in interface cn.torna.swaggerplugin.builder.
RequestInfoBuilder
buildDebugEnvs()
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
buildDocItem(RequestInfoBuilder)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
buildDocParamReq(Parameter)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
buildErrorCodes(ApiOperation)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
buildFieldDocInfo(Class<?>)
- Method in class cn.torna.swaggerplugin.builder.
ApiDocBuilder
生成文档信息
buildFieldDocInfo(ApiModelProperty, Field, Type)
- Method in class cn.torna.swaggerplugin.builder.
ApiDocBuilder
buildFieldDocInfoByClass(ApiModelProperty, Class<?>, Field)
- Method in class cn.torna.swaggerplugin.builder.
ApiDocBuilder
buildFieldDocInfoByEnumClass(Class<Enum>, ApiModelProperty, Field)
- Method in class cn.torna.swaggerplugin.builder.
ApiDocBuilder
buildFieldDocInfosByType(Class<?>, boolean, Class<?>)
- Method in class cn.torna.swaggerplugin.builder.
ApiDocBuilder
从api参数中构建
buildHeaderParams(Method)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
buildOrder(ApiOperation, Method)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
buildParamsByGeneric(Type)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
buildPathParams(Method)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
buildQueryParams(Method, String)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
buildReqClassParams(Class<?>)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
buildReqClassParams(Map<String, Class<?>>, Class<?>)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
buildRequestParams(Method, String)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
buildRespClassParams(Map<String, Class<?>>, Class<?>)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
buildResponseParams(Method)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
buildUrl()
- Method in class cn.torna.swaggerplugin.builder.
MvcRequestInfoBuilder
buildUrl()
- Method in interface cn.torna.swaggerplugin.builder.
RequestInfoBuilder
C
ClassScanner
- Class in
cn.torna.swaggerplugin.scaner
class扫描
ClassScanner(String[])
- Constructor for class cn.torna.swaggerplugin.scaner.
ClassScanner
ClassScanner(String[], Class<?>)
- Constructor for class cn.torna.swaggerplugin.scaner.
ClassScanner
ClassUtil
- Class in
cn.torna.swaggerplugin.util
扫描2包下的所有类
ClassUtil()
- Constructor for class cn.torna.swaggerplugin.util.
ClassUtil
cn.torna.swaggerplugin
- package cn.torna.swaggerplugin
cn.torna.swaggerplugin.bean
- package cn.torna.swaggerplugin.bean
cn.torna.swaggerplugin.builder
- package cn.torna.swaggerplugin.builder
cn.torna.swaggerplugin.exception
- package cn.torna.swaggerplugin.exception
cn.torna.swaggerplugin.scaner
- package cn.torna.swaggerplugin.scaner
cn.torna.swaggerplugin.util
- package cn.torna.swaggerplugin.util
CodeInfo
- Class in
cn.torna.swaggerplugin.bean
CodeInfo()
- Constructor for class cn.torna.swaggerplugin.bean.
CodeInfo
CodeItem
- Class in
cn.torna.swaggerplugin.bean
CodeItem()
- Constructor for class cn.torna.swaggerplugin.bean.
CodeItem
ControllerInfo
- Class in
cn.torna.swaggerplugin.bean
ControllerInfo()
- Constructor for class cn.torna.swaggerplugin.bean.
ControllerInfo
copyPropertiesIgnoreNull(Object, Object, String...)
- Static method in class cn.torna.swaggerplugin.util.
PluginUtil
属性拷贝,第一个参数中的属性值拷贝到第二个参数中
注意:当第一个参数中的属性有null值时,不会拷贝进去
D
DataType
- Enum in
cn.torna.swaggerplugin.builder
数据类型
doBuildDocItem(RequestInfoBuilder)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
DocParamInfo
- Class in
cn.torna.swaggerplugin.bean
DocParamInfo()
- Constructor for class cn.torna.swaggerplugin.bean.
DocParamInfo
doPush()
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
dotToSplash(String)
- Static method in class cn.torna.swaggerplugin.util.
StringUtil
"cn.fh.lightning" -> "cn/fh/lightning"
F
FALSE
- Static variable in class cn.torna.swaggerplugin.bean.
Booleans
FALSE
- Static variable in interface cn.torna.swaggerplugin.bean.
PluginConstants
FieldDocInfo
- Class in
cn.torna.swaggerplugin.builder
文档参数字段信息
FieldDocInfo()
- Constructor for class cn.torna.swaggerplugin.builder.
FieldDocInfo
filterExtension(ApiOperation, String)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
findBetweenChar(String, char, char)
- Static method in class cn.torna.swaggerplugin.util.
StringUtil
formatDataType(FieldDocInfo, Class<?>)
- Method in class cn.torna.swaggerplugin.builder.
ApiDocBuilder
formatDocParamReqIndex(List<DocParamReq>)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
formatDocParamRespIndex(List<DocParamResp>)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
formatIndex(List<DocItem>)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
G
getAllClasses(Class<?>)
- Static method in class cn.torna.swaggerplugin.util.
ClassUtil
获取自身以及上层父类class,父类的父类也算,不包括Object
getApiOperation()
- Method in class cn.torna.swaggerplugin.builder.
HttpMethodInfoBuilder
getApiOperation()
- Method in interface cn.torna.swaggerplugin.builder.
RequestInfoBuilder
getArrayElementType(ApiParamWrapper, Class<?>, Type)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
getClasses(String, Class<?>)
- Static method in class cn.torna.swaggerplugin.util.
ClassUtil
从包package中获取所有的Class
getClassFromArrayType(Class<?>)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
getClassSet()
- Method in class cn.torna.swaggerplugin.scaner.
ClassScanner
将符合条件的Bean以Class集合的形式返回
getCollectionElementClass(Class<?>)
- Method in class cn.torna.swaggerplugin.builder.
ApiDocBuilder
getDataType()
- Method in class cn.torna.swaggerplugin.bean.
ApiModelPropertyWrapper
getDataType(ApiImplicitParam)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
getDataType(Class<?>)
- Static method in class cn.torna.swaggerplugin.util.
PluginUtil
getDescription()
- Method in class cn.torna.swaggerplugin.bean.
ApiModelPropertyWrapper
getDescription()
- Method in class cn.torna.swaggerplugin.bean.
ApiParamWrapper
getExample()
- Method in class cn.torna.swaggerplugin.bean.
ApiModelPropertyWrapper
getExample()
- Method in class cn.torna.swaggerplugin.bean.
ApiParamWrapper
getGenericParamClass(Class<?>, String)
- Method in class cn.torna.swaggerplugin.builder.
ApiDocBuilder
getGenericParamKey(Class<?>, String)
- Static method in class cn.torna.swaggerplugin.util.
PluginUtil
getGenericRawType(Type)
- Static method in class cn.torna.swaggerplugin.util.
PluginUtil
获取泛型参数的原理类型,如:List<String> 返回List
getGenericType(Field)
- Static method in class cn.torna.swaggerplugin.util.
PluginUtil
getGenericType(Type)
- Static method in class cn.torna.swaggerplugin.util.
PluginUtil
获取泛型参数类型,如:List<String> 返回String
getGenericTypeDeeply(Type)
- Static method in class cn.torna.swaggerplugin.util.
PluginUtil
getHttpMethod()
- Method in class cn.torna.swaggerplugin.builder.
HttpMethodInfoBuilder
getHttpMethod()
- Method in interface cn.torna.swaggerplugin.builder.
RequestInfoBuilder
getMaxLength()
- Method in class cn.torna.swaggerplugin.bean.
ApiModelPropertyWrapper
getMethod()
- Method in class cn.torna.swaggerplugin.builder.
HttpMethodInfoBuilder
getMethod()
- Method in interface cn.torna.swaggerplugin.builder.
RequestInfoBuilder
getName()
- Method in class cn.torna.swaggerplugin.bean.
ApiModelPropertyWrapper
getParameterName(Parameter)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
获取参数名称
getParameterType(Parameter)
- Static method in class cn.torna.swaggerplugin.util.
PluginUtil
getPosition()
- Method in class cn.torna.swaggerplugin.bean.
ApiModelPropertyWrapper
getRequired()
- Method in class cn.torna.swaggerplugin.bean.
ApiModelPropertyWrapper
getRequired()
- Method in class cn.torna.swaggerplugin.bean.
ApiParamWrapper
getRootPath(URL)
- Static method in class cn.torna.swaggerplugin.util.
StringUtil
"file:/home/whf/cn/fh" -> "/home/whf/cn/fh" "jar:file:/home/whf/foo.jar!cn/fh" -> "/home/whf/foo.jar"
getTags(Api)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
getTornaConfig()
- Method in class cn.torna.swaggerplugin.builder.
HttpMethodInfoBuilder
getTornaConfig()
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
getType()
- Method in class cn.torna.swaggerplugin.bean.
ApiParamWrapper
getValue()
- Method in class cn.torna.swaggerplugin.bean.
ApiModelPropertyWrapper
getValue()
- Method in enum cn.torna.swaggerplugin.builder.
DataType
H
hasAnyAnnotation(Field, List<String>)
- Static method in class cn.torna.swaggerplugin.util.
PluginUtil
字段是否包含某些注解
HiddenException
- Exception in
cn.torna.swaggerplugin.exception
HiddenException(String)
- Constructor for exception cn.torna.swaggerplugin.exception.
HiddenException
HttpMethodInfoBuilder
- Class in
cn.torna.swaggerplugin.builder
HttpMethodInfoBuilder(Method, TornaConfig)
- Constructor for class cn.torna.swaggerplugin.builder.
HttpMethodInfoBuilder
I
IgnoreException
- Exception in
cn.torna.swaggerplugin.exception
IgnoreException(String)
- Constructor for exception cn.torna.swaggerplugin.exception.
IgnoreException
isBodyParameter(Parameter, String)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
是否body体参数
isCollection(Class<?>)
- Static method in class cn.torna.swaggerplugin.util.
PluginUtil
isCollectionOrArray(Class<?>)
- Static method in class cn.torna.swaggerplugin.util.
PluginUtil
isCycle(Class<?>, Field)
- Method in class cn.torna.swaggerplugin.builder.
ApiDocBuilder
isEnableFeature(TornaConfig, PushFeature)
- Static method in class cn.torna.swaggerplugin.util.
PluginUtil
isExistAnnotation(Annotation[], Class<T>)
- Static method in class cn.torna.swaggerplugin.util.
PluginUtil
isFileParameter(Parameter)
- Static method in class cn.torna.swaggerplugin.util.
PluginUtil
isGenericType(Type)
- Static method in class cn.torna.swaggerplugin.util.
PluginUtil
是否是泛型类型
isIgnoreParameter(Parameter)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
isObjectClass(Class<?>)
- Method in class cn.torna.swaggerplugin.builder.
ApiDocBuilder
isPojo(Class<?>)
- Static method in class cn.torna.swaggerplugin.util.
PluginUtil
是否普通的java类
isPrimitive(String)
- Static method in class cn.torna.swaggerplugin.util.
ClassUtil
Check if it is the basic data type of json data
isSpecialType(Class<?>)
- Static method in class cn.torna.swaggerplugin.util.
ClassUtil
isTransientField(Field)
- Static method in class cn.torna.swaggerplugin.util.
PluginUtil
字段是否被transient关键字修饰或有@Transient注解
isTrue(Byte)
- Static method in class cn.torna.swaggerplugin.bean.
Booleans
M
match(Method)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
METHOD_GET_GENERIC_INFO
- Static variable in class cn.torna.swaggerplugin.util.
PluginUtil
ModeEnum
- Enum in
cn.torna.swaggerplugin.bean
MvcRequestInfoBuilder
- Class in
cn.torna.swaggerplugin.builder
MvcRequestInfoBuilder(Method, TornaConfig)
- Constructor for class cn.torna.swaggerplugin.builder.
MvcRequestInfoBuilder
P
parse(String)
- Static method in enum cn.torna.swaggerplugin.builder.
DataType
PluginConstants
- Interface in
cn.torna.swaggerplugin.bean
PluginUtil
- Class in
cn.torna.swaggerplugin.util
PluginUtil()
- Constructor for class cn.torna.swaggerplugin.util.
PluginUtil
push(List<DocItem>)
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
pushCode()
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
推送错误码
pushDoc()
- Static method in class cn.torna.swaggerplugin.
SwaggerPlugin
推送文档,前提:把
torna.json
文件复制到resources下
pushDoc(String)
- Static method in class cn.torna.swaggerplugin.
SwaggerPlugin
推送swagger文档
pushDoc()
- Method in class cn.torna.swaggerplugin.
SwaggerPluginService
PushFeature
- Enum in
cn.torna.swaggerplugin.bean
R
RequestInfoBuilder
- Interface in
cn.torna.swaggerplugin.builder
Copyright © 2021 DHF Info.
S
splashToDot(String)
- Static method in class cn.torna.swaggerplugin.util.
StringUtil
"cn/fh/lightning" -> "cn.fh.lightning"
StringUtil
- Class in
cn.torna.swaggerplugin.util
SwaggerPlugin
- Class in
cn.torna.swaggerplugin
文档推送辅助类
SwaggerPlugin()
- Constructor for class cn.torna.swaggerplugin.
SwaggerPlugin
SwaggerPluginService
- Class in
cn.torna.swaggerplugin
SwaggerPluginService(TornaConfig)
- Constructor for class cn.torna.swaggerplugin.
SwaggerPluginService
T
TornaConfig
- Class in
cn.torna.swaggerplugin.bean
TornaConfig()
- Constructor for class cn.torna.swaggerplugin.bean.
TornaConfig
toValue(Boolean)
- Static method in class cn.torna.swaggerplugin.bean.
Booleans
trimExtension(String)
- Static method in class cn.torna.swaggerplugin.util.
StringUtil
"Apple.class" -> "Apple"
trimURI(String)
- Static method in class cn.torna.swaggerplugin.util.
StringUtil
/application/home -> /home
TRUE
- Static variable in class cn.torna.swaggerplugin.bean.
Booleans
TRUE
- Static variable in interface cn.torna.swaggerplugin.bean.
PluginConstants
V
valueOf(String)
- Static method in enum cn.torna.swaggerplugin.bean.
ModeEnum
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum cn.torna.swaggerplugin.bean.
PushFeature
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum cn.torna.swaggerplugin.builder.
DataType
Returns the enum constant of this type with the specified name.
values()
- Static method in enum cn.torna.swaggerplugin.bean.
ModeEnum
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum cn.torna.swaggerplugin.bean.
PushFeature
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum cn.torna.swaggerplugin.builder.
DataType
Returns an array containing the constants of this enum type, in the order they are declared.
A
B
C
D
F
G
H
I
M
P
R
S
T
V
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
Copyright © 2023. All Rights Reserved.