索引
All Classes and Interfaces|常量字段值|所有程序包|序列化表格
A
- AbstractConfigurableMcpServer - com.github.codeboyzhou.mcp.declarative.server.configurable中的类
-
This abstract class represents a configurable MCP (Model Context Protocol) server.
- AbstractConfigurableMcpServer(McpServerConfiguration) - 类的构造器 com.github.codeboyzhou.mcp.declarative.server.configurable.AbstractConfigurableMcpServer
-
Creates a new instance of
AbstractConfigurableMcpServerwith the specified configuration. - AbstractMcpServer<S extends McpServerInfo> - com.github.codeboyzhou.mcp.declarative.server中的类
-
This abstract class is used to provide a base implementation for an MCP server.
- AbstractMcpServer() - 类的构造器 com.github.codeboyzhou.mcp.declarative.server.AbstractMcpServer
- AbstractMcpServerComponent<T> - com.github.codeboyzhou.mcp.declarative.server.component中的类
-
This abstract class represents an MCP server component (resource/prompt/tool) that is responsible for creating instances of a specific type
Tfor a given method, and provides common functionality for all MCP server components. - AbstractMcpServerComponent() - 类的构造器 com.github.codeboyzhou.mcp.declarative.server.component.AbstractMcpServerComponent
-
Creates a new instance of
AbstractMcpServerComponent. - AbstractParameterConverter<A extends Annotation> - com.github.codeboyzhou.mcp.declarative.server.converter中的类
-
This abstract class is used to convert the value of a parameter annotated with
AbstractParameterConverterto the required type, and provides a default implementation for theAbstractParameterConverter.convertAll(Parameter[], Map)method. - AbstractParameterConverter() - 类的构造器 com.github.codeboyzhou.mcp.declarative.server.converter.AbstractParameterConverter
- asTextContent() - 接口中的方法 com.github.codeboyzhou.mcp.declarative.server.McpStructuredContent
-
Returns the text representation of this structured content.
- ASYNC - enum class 中的枚举常量 com.github.codeboyzhou.mcp.declarative.enums.ServerType
-
The MCP server runs in
ASYNCmode.
B
- basePackage() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpServerApplication
-
The base package for component scanning.
- basePackageClass() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpServerApplication
-
The base package class for component scanning.
- baseUrl() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerSSE
-
返回
baseUrl记录组件的值。 - baseUrl() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpSseServerInfo
-
Returns the base URL of the MCP server.
- baseUrl(String) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerSSE.Builder
-
Sets the base URL.
- baseUrl(String) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpSseServerInfo.Builder
-
Sets the base URL of the MCP server.
- bind(int) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.EmbeddedJettyServer
-
Bind Jetty HTTP server to a specific port.
- BOOLEAN - enum class 中的枚举常量 com.github.codeboyzhou.mcp.declarative.enums.JavaTypeToJsonSchemaMapper
-
Java
booleanis mapped to JSON schema data typeboolean. - BOOLEAN_CLASS - enum class 中的枚举常量 com.github.codeboyzhou.mcp.declarative.enums.JavaTypeToJsonSchemaMapper
-
Java
Booleanis mapped to JSON schema data typeboolean. - build() - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerCapabilities.Builder
-
Builds an instance of
McpServerCapabilitieswith the configured values. - build() - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerChangeNotification.Builder
-
Builds an instance of
McpServerChangeNotificationwith the configured values. - build() - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration.Builder
-
Builds a new instance of
McpServerConfiguration. - build() - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerSSE.Builder
-
Builds an instance of
McpServerSSEwith the configured values. - build() - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerStreamable.Builder
-
Builds an instance of
McpServerStreamablewith the configured values. - build() - 类中的方法 com.github.codeboyzhou.mcp.declarative.reflect.InvocationResult.Builder
-
Builds a new instance of
InvocationResultwith the configured values. - build() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.component.McpCompleteCompletion.Builder
-
Builds a new
McpCompleteCompletioninstance with the configured values. - build() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpServerInfo.Builder
-
Builds a new instance of
McpServerInfowith the specified configuration. - build() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpSseServerInfo.Builder
-
Builds a new
McpSseServerInfoinstance with the specified builder. - build() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpStreamableServerInfo.Builder
-
Builds a new
McpStreamableServerInfoinstance with the specified builder. - builder() - record class中的静态方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerCapabilities
-
Creates a new instance of
Builderto buildMcpServerCapabilities. - builder() - record class中的静态方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerChangeNotification
-
Creates a new instance of
Builderto buildMcpServerChangeNotification. - builder() - record class中的静态方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration
-
Creates a new instance of
Builderto buildMcpServerConfiguration. - builder() - record class中的静态方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerSSE
-
Creates a new instance of
Builderto buildMcpServerSSE. - builder() - record class中的静态方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerStreamable
-
Creates a new instance of
Builderto buildMcpServerStreamable. - builder() - record class中的静态方法 com.github.codeboyzhou.mcp.declarative.reflect.InvocationResult
-
Returns a new instance of
Builderfor creating a newInvocationResult. - builder() - record class中的静态方法 com.github.codeboyzhou.mcp.declarative.server.component.McpCompleteCompletion
-
Creates a new
McpCompleteCompletion.Builderinstance for constructingMcpCompleteCompletionobjects. - builder() - 类中的静态方法 com.github.codeboyzhou.mcp.declarative.server.McpServerInfo
-
Returns a new instance of
Builderto create aMcpServerInfoinstance. - builder() - 类中的静态方法 com.github.codeboyzhou.mcp.declarative.server.McpSseServerInfo
-
Returns a new builder instance to construct a
McpSseServerInfoinstance. - builder() - 类中的静态方法 com.github.codeboyzhou.mcp.declarative.server.McpStreamableServerInfo
-
Returns a new builder instance to construct a
McpStreamableServerInfoinstance. - Builder() - 类的构造器 com.github.codeboyzhou.mcp.declarative.configuration.McpServerCapabilities.Builder
- Builder() - 类的构造器 com.github.codeboyzhou.mcp.declarative.configuration.McpServerChangeNotification.Builder
- Builder() - 类的构造器 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration.Builder
- Builder() - 类的构造器 com.github.codeboyzhou.mcp.declarative.configuration.McpServerSSE.Builder
- Builder() - 类的构造器 com.github.codeboyzhou.mcp.declarative.configuration.McpServerStreamable.Builder
- Builder() - 类的构造器 com.github.codeboyzhou.mcp.declarative.reflect.InvocationResult.Builder
- Builder() - 类的构造器 com.github.codeboyzhou.mcp.declarative.server.component.McpCompleteCompletion.Builder
- Builder() - 类的构造器 com.github.codeboyzhou.mcp.declarative.server.McpServerInfo.Builder
- Builder() - 类的构造器 com.github.codeboyzhou.mcp.declarative.server.McpSseServerInfo.Builder
- Builder() - 类的构造器 com.github.codeboyzhou.mcp.declarative.server.McpStreamableServerInfo.Builder
C
- capabilities - 类中的变量 com.github.codeboyzhou.mcp.declarative.server.McpServerInfo.Builder
-
The capabilities of the MCP server.
- capabilities() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration
-
返回
capabilities记录组件的值。 - capabilities() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpServerInfo
-
Returns the capabilities of the MCP server.
- capabilities(McpServerCapabilities) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration.Builder
-
Sets the server capabilities.
- capabilities(McpServerCapabilities) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpServerInfo.Builder
-
Sets the capabilities of the MCP server.
- changeNotification - 类中的变量 com.github.codeboyzhou.mcp.declarative.server.McpServerInfo.Builder
-
The change notification of the MCP server.
- changeNotification() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration
-
返回
changeNotification记录组件的值。 - changeNotification() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpServerInfo
-
Returns the change notification of the MCP server.
- changeNotification(McpServerChangeNotification) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration.Builder
-
Sets the change notification configuration.
- changeNotification(McpServerChangeNotification) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpServerInfo.Builder
-
Sets the change notification of the MCP server.
- check(McpServerConfiguration) - 类中的静态方法 com.github.codeboyzhou.mcp.declarative.configuration.McpConfigurationChecker
-
Performs comprehensive validation of the MCP server configuration.
- checkBlank(String, String) - 类中的静态方法 com.github.codeboyzhou.mcp.declarative.configuration.McpConfigurationChecker
-
Validates that a single string configuration value is not blank.
- checkBlank(String, String, String) - 类中的静态方法 com.github.codeboyzhou.mcp.declarative.configuration.McpConfigurationChecker
-
Validates that at least one of two string configuration values is not blank.
- checkNull(String, T) - 类中的静态方法 com.github.codeboyzhou.mcp.declarative.configuration.McpConfigurationChecker
-
Validates that a single configuration value is not null.
- checkNull(String, T, T) - 类中的静态方法 com.github.codeboyzhou.mcp.declarative.configuration.McpConfigurationChecker
-
Validates that at least one of two configuration values is not null.
- com.github.codeboyzhou.mcp.declarative - 程序包 com.github.codeboyzhou.mcp.declarative
- com.github.codeboyzhou.mcp.declarative.annotation - 程序包 com.github.codeboyzhou.mcp.declarative.annotation
- com.github.codeboyzhou.mcp.declarative.common - 程序包 com.github.codeboyzhou.mcp.declarative.common
- com.github.codeboyzhou.mcp.declarative.configuration - 程序包 com.github.codeboyzhou.mcp.declarative.configuration
- com.github.codeboyzhou.mcp.declarative.di - 程序包 com.github.codeboyzhou.mcp.declarative.di
- com.github.codeboyzhou.mcp.declarative.enums - 程序包 com.github.codeboyzhou.mcp.declarative.enums
- com.github.codeboyzhou.mcp.declarative.exception - 程序包 com.github.codeboyzhou.mcp.declarative.exception
- com.github.codeboyzhou.mcp.declarative.reflect - 程序包 com.github.codeboyzhou.mcp.declarative.reflect
- com.github.codeboyzhou.mcp.declarative.server - 程序包 com.github.codeboyzhou.mcp.declarative.server
- com.github.codeboyzhou.mcp.declarative.server.component - 程序包 com.github.codeboyzhou.mcp.declarative.server.component
- com.github.codeboyzhou.mcp.declarative.server.configurable - 程序包 com.github.codeboyzhou.mcp.declarative.server.configurable
- com.github.codeboyzhou.mcp.declarative.server.converter - 程序包 com.github.codeboyzhou.mcp.declarative.server.converter
- com.github.codeboyzhou.mcp.declarative.util - 程序包 com.github.codeboyzhou.mcp.declarative.util
- completion() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerCapabilities
-
返回
completion记录组件的值。 - completion(Boolean) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerCapabilities.Builder
-
Sets the completion capability.
- configFileName() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpConfigurationLoader
-
返回
configFileName记录组件的值。 - ConfigurableMcpServer - com.github.codeboyzhou.mcp.declarative.server.configurable中的接口
-
This interface represents a configurable MCP (Model Context Protocol) server.
- ConfigurableMcpServerFactory - com.github.codeboyzhou.mcp.declarative.server.configurable中的类
-
This factory class is used to create instances of
AbstractConfigurableMcpServerimplementations based on the specifiedMcpServerConfiguration. - ConfigurableMcpSseServer - com.github.codeboyzhou.mcp.declarative.server.configurable中的类
-
This class is used to create a new instance of
ConfigurableMcpSseServerbased on the specifiedMcpServerConfigurationin HTTP SSE mode. - ConfigurableMcpSseServer(McpServerConfiguration) - 类的构造器 com.github.codeboyzhou.mcp.declarative.server.configurable.ConfigurableMcpSseServer
-
Creates a new instance of
ConfigurableMcpSseServerwith the specified configuration. - ConfigurableMcpStdioServer - com.github.codeboyzhou.mcp.declarative.server.configurable中的类
-
This class is used to create a new instance of
ConfigurableMcpStdioServerbased on the specifiedMcpServerConfigurationin STDIO mode. - ConfigurableMcpStdioServer(McpServerConfiguration) - 类的构造器 com.github.codeboyzhou.mcp.declarative.server.configurable.ConfigurableMcpStdioServer
-
Creates a new instance of
ConfigurableMcpStdioServerwith the specified configuration. - ConfigurableMcpStreamableServer - com.github.codeboyzhou.mcp.declarative.server.configurable中的类
-
This class is used to create a new instance of
ConfigurableMcpStreamableServerbased on the specifiedMcpServerConfigurationin Streamable HTTP mode. - ConfigurableMcpStreamableServer(McpServerConfiguration) - 类的构造器 com.github.codeboyzhou.mcp.declarative.server.configurable.ConfigurableMcpStreamableServer
-
Creates a new instance of
ConfigurableMcpStreamableServerwith the specified configuration. - configuration - 类中的变量 com.github.codeboyzhou.mcp.declarative.server.configurable.AbstractConfigurableMcpServer
-
The configuration for the MCP server.
- configure() - 类中的方法 com.github.codeboyzhou.mcp.declarative.di.GuiceInjectorModule
- contextExtractor() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpStreamableServerInfo
-
Returns the extractor to extract the transport context from the HTTP request.
- contextExtractor(McpTransportContextExtractor<HttpServletRequest>) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpStreamableServerInfo.Builder
-
Sets the extractor to extract the transport context from the HTTP request.
- convert(Object, Class<?>) - 类中的静态方法 com.github.codeboyzhou.mcp.declarative.util.TypeConverter
-
Converts the given value to the specified target type.
- convert(Parameter, A, Map<String, Object>) - 接口中的方法 com.github.codeboyzhou.mcp.declarative.server.converter.ParameterConverter
-
Converts the value of the specified parameter annotated with the specified annotation to the required type.
- convert(Parameter, McpPromptParam, Map<String, Object>) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.converter.McpPromptParameterConverter
-
Converts the value of the parameter annotated with
McpPromptParamto the required type. - convert(Parameter, McpToolParam, Map<String, Object>) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.converter.McpToolParameterConverter
-
Converts the value of the parameter annotated with
McpToolParamto the required type. - convertAll(Parameter[], Map<String, Object>) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.converter.AbstractParameterConverter
-
Converts the values of all parameters annotated with the specified annotation to the required types.
- create(Method) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.component.McpServerCompletion
-
Creates a synchronous completion specification for the given method.
- create(Method) - 接口中的方法 com.github.codeboyzhou.mcp.declarative.server.component.McpServerComponent
-
Creates an instance of the component for the specified method.
- create(Method) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.component.McpServerPrompt
- create(Method) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.component.McpServerResource
- create(Method) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.component.McpServerTool
D
- defaultIfBlank(String, String) - 类中的静态方法 com.github.codeboyzhou.mcp.declarative.util.StringHelper
-
Returns the default value if the given string is blank, otherwise returns the original string.
- DependencyInjector - com.github.codeboyzhou.mcp.declarative.di中的接口
-
This interface defines the contract for a dependency injector.
- DependencyInjectorProvider - com.github.codeboyzhou.mcp.declarative.di中的Enum Class
-
This enum provides a singleton instance of
DependencyInjectorProviderthat can be used to initialize and retrieve theDependencyInjectorinstance. - description() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpJsonSchemaProperty
-
The description of the JSON schema property.
- description() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpPrompt
-
The description of the prompt.
- description() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpPromptParam
-
The description of the prompt parameter.
- description() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpResource
-
The description of the resource.
- description() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpTool
-
The description of the tool.
- description() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpToolParam
-
The description of the tool parameter.
- disallowDelete() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerStreamable
-
返回
disallowDelete记录组件的值。 - disallowDelete() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpStreamableServerInfo
-
Returns whether to disallow http delete requests.
- disallowDelete(boolean) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpStreamableServerInfo.Builder
-
Sets whether to disallow http delete requests.
- disallowDelete(Boolean) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerStreamable.Builder
-
Sets the disallow delete flag.
- DOT - 类中的静态变量 com.github.codeboyzhou.mcp.declarative.util.StringHelper
-
The dot character constant.
- DOUBLE - enum class 中的枚举常量 com.github.codeboyzhou.mcp.declarative.enums.JavaTypeToJsonSchemaMapper
-
Java
doubleis mapped to JSON schema data typenumber. - DOUBLE_CLASS - enum class 中的枚举常量 com.github.codeboyzhou.mcp.declarative.enums.JavaTypeToJsonSchemaMapper
-
Java
Doubleis mapped to JSON schema data typenumber.
E
- EmbeddedJettyServer - com.github.codeboyzhou.mcp.declarative.server中的类
-
Embedded Jetty HTTP server implementation.
- EmbeddedJettyServer() - 类的构造器 com.github.codeboyzhou.mcp.declarative.server.EmbeddedJettyServer
-
Constructor to initialize Jetty HTTP server with a single thread.
- empty() - record class中的静态方法 com.github.codeboyzhou.mcp.declarative.server.component.McpCompleteCompletion
-
Creates an empty
McpCompleteCompletioninstance. - EMPTY - 类中的静态变量 com.github.codeboyzhou.mcp.declarative.util.StringHelper
-
The empty string constant.
- enabled() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration
-
返回
enabled记录组件的值。 - enabled(Boolean) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration.Builder
-
Sets the enabled status.
- endpoint() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerSSE
-
返回
endpoint记录组件的值。 - endpoint(String) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerSSE.Builder
-
Sets the endpoint.
- equals(Object) - record class中的方法 com.github.codeboyzhou.mcp.declarative.common.Immutable
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpConfigurationLoader
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerCapabilities
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerChangeNotification
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerSSE
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerStreamable
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - record class中的方法 com.github.codeboyzhou.mcp.declarative.reflect.InvocationResult
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - 类中的方法 com.github.codeboyzhou.mcp.declarative.reflect.MethodCache
- equals(Object) - record class中的方法 com.github.codeboyzhou.mcp.declarative.server.component.McpCompleteCompletion
-
指示某个其他对象是否“等于”此对象。
- exception() - record class中的方法 com.github.codeboyzhou.mcp.declarative.reflect.InvocationResult
-
返回
exception记录组件的值。 - exception(Exception) - 类中的方法 com.github.codeboyzhou.mcp.declarative.reflect.InvocationResult.Builder
-
Sets the exception that occurred during the invocation.
F
- FLOAT - enum class 中的枚举常量 com.github.codeboyzhou.mcp.declarative.enums.JavaTypeToJsonSchemaMapper
-
Java
floatis mapped to JSON schema data typenumber. - FLOAT_CLASS - enum class 中的枚举常量 com.github.codeboyzhou.mcp.declarative.enums.JavaTypeToJsonSchemaMapper
-
Java
Floatis mapped to JSON schema data typenumber. - fromJson(String, Class<T>) - 类中的静态方法 com.github.codeboyzhou.mcp.declarative.util.JacksonHelper
-
Deserialize a JSON string to an object of the specified type.
- fromYaml(File, Class<T>) - 类中的静态方法 com.github.codeboyzhou.mcp.declarative.util.JacksonHelper
-
Deserialize a YAML file to an object of the specified type.
G
- get() - record class中的方法 com.github.codeboyzhou.mcp.declarative.common.Immutable
-
Returns the value wrapped by this
Immutableinstance. - getAnnotationType() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.converter.McpPromptParameterConverter
-
Returns the type of the annotation this converter handles.
- getAnnotationType() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.converter.McpToolParameterConverter
-
Returns the type of the annotation this converter handles.
- getAnnotationType() - 接口中的方法 com.github.codeboyzhou.mcp.declarative.server.converter.ParameterConverter
-
Returns the type of the annotation that this converter supports.
- getDeclaringClass() - 类中的方法 com.github.codeboyzhou.mcp.declarative.reflect.MethodCache
-
Returns the class that declares the cached method.
- getDefault() - record class中的静态方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerCapabilities
-
Returns the default capabilities of the MCP server.
- getDefault() - record class中的静态方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerChangeNotification
-
Returns the default change notification of the MCP server.
- getDefault() - record class中的静态方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration
-
Returns the default configuration of the MCP server.
- getDefault() - record class中的静态方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerSSE
-
Returns the default SSE configuration of the MCP server.
- getDefault() - record class中的静态方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerStreamable
-
Returns the default streamable http server configuration of the MCP server.
- getInjector() - enum class中的方法 com.github.codeboyzhou.mcp.declarative.di.DependencyInjectorProvider
-
Returns the
DependencyInjectorinstance. - getInstance(Class<T>) - 接口中的方法 com.github.codeboyzhou.mcp.declarative.di.DependencyInjector
-
Returns an instance of the specified type.
- getInstance(Class<T>) - 类中的方法 com.github.codeboyzhou.mcp.declarative.di.GuiceDependencyInjector
- getJsonSchemaType() - enum class中的方法 com.github.codeboyzhou.mcp.declarative.enums.JavaTypeToJsonSchemaMapper
-
Returns the JSON schema data type.
- getJsonSchemaType(Class<?>) - enum class中的静态方法 com.github.codeboyzhou.mcp.declarative.enums.JavaTypeToJsonSchemaMapper
-
Returns the JSON schema data type for the specified Java class.
- getMcpPromptAnnotation() - 类中的方法 com.github.codeboyzhou.mcp.declarative.reflect.MethodCache
-
Returns the annotation
McpPrompton the cached method. - getMcpPromptCompletionAnnotation() - 类中的方法 com.github.codeboyzhou.mcp.declarative.reflect.MethodCache
-
Returns the annotation
McpPromptCompletionon the cached method. - getMcpResourceAnnotation() - 类中的方法 com.github.codeboyzhou.mcp.declarative.reflect.MethodCache
-
Returns the annotation
McpResourceon the cached method. - getMcpResourceCompletionAnnotation() - 类中的方法 com.github.codeboyzhou.mcp.declarative.reflect.MethodCache
-
Returns the annotation
McpResourceCompletionon the cached method. - getMcpToolAnnotation() - 类中的方法 com.github.codeboyzhou.mcp.declarative.reflect.MethodCache
-
Returns the annotation
McpToolon the cached method. - getMethod() - 类中的方法 com.github.codeboyzhou.mcp.declarative.reflect.MethodCache
-
Returns the method cached by this
MethodCacheinstance. - getMethodName() - 类中的方法 com.github.codeboyzhou.mcp.declarative.reflect.MethodCache
-
Returns the name of the cached method.
- getMethodSignature() - 类中的方法 com.github.codeboyzhou.mcp.declarative.reflect.MethodCache
-
Returns the signature of the cached method.
- getOrCache(Method) - enum class中的方法 com.github.codeboyzhou.mcp.declarative.util.ReflectionHelper
-
Get or cache the metadata for the specified method.
- getParameters() - 类中的方法 com.github.codeboyzhou.mcp.declarative.reflect.MethodCache
-
Returns the parameters of the cached method.
- getReturnType() - 类中的方法 com.github.codeboyzhou.mcp.declarative.reflect.MethodCache
-
Returns the return type of the cached method.
- getServer(McpServerConfiguration) - 类中的静态方法 com.github.codeboyzhou.mcp.declarative.server.configurable.ConfigurableMcpServerFactory
-
Creates a new instance of
AbstractConfigurableMcpServerimplementations based on the specifiedMcpServerConfiguration. - getVariable(Class<T>, String) - 接口中的方法 com.github.codeboyzhou.mcp.declarative.di.DependencyInjector
-
Returns the value of the specified variable.
- getVariable(Class<T>, String) - 类中的方法 com.github.codeboyzhou.mcp.declarative.di.GuiceDependencyInjector
- GuiceDependencyInjector - com.github.codeboyzhou.mcp.declarative.di中的类
-
This class implements the
DependencyInjectorinterface using Google Guice. - GuiceDependencyInjector(Injector) - 类的构造器 com.github.codeboyzhou.mcp.declarative.di.GuiceDependencyInjector
-
Creates a new instance of
GuiceDependencyInjectorwith the specified GuiceInjector. - GuiceInjectorModule - com.github.codeboyzhou.mcp.declarative.di中的类
-
This class is a Guice module that configures bindings for classes annotated with
McpServerApplication,McpResource,McpPrompt, andMcpTool. - GuiceInjectorModule(Class<?>) - 类的构造器 com.github.codeboyzhou.mcp.declarative.di.GuiceInjectorModule
-
Constructs a new
GuiceInjectorModulewith the specified main class.
H
- hashCode() - record class中的方法 com.github.codeboyzhou.mcp.declarative.common.Immutable
-
返回此对象的哈希代码值。
- hashCode() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpConfigurationLoader
-
返回此对象的哈希代码值。
- hashCode() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerCapabilities
-
返回此对象的哈希代码值。
- hashCode() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerChangeNotification
-
返回此对象的哈希代码值。
- hashCode() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration
-
返回此对象的哈希代码值。
- hashCode() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerSSE
-
返回此对象的哈希代码值。
- hashCode() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerStreamable
-
返回此对象的哈希代码值。
- hashCode() - record class中的方法 com.github.codeboyzhou.mcp.declarative.reflect.InvocationResult
-
返回此对象的哈希代码值。
- hashCode() - 类中的方法 com.github.codeboyzhou.mcp.declarative.reflect.MethodCache
- hashCode() - record class中的方法 com.github.codeboyzhou.mcp.declarative.server.component.McpCompleteCompletion
-
返回此对象的哈希代码值。
- hasMore() - record class中的方法 com.github.codeboyzhou.mcp.declarative.server.component.McpCompleteCompletion
-
返回
hasMore记录组件的值。 - hasMore(boolean) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.component.McpCompleteCompletion.Builder
-
Sets whether more completions are available.
I
- Immutable<T> - com.github.codeboyzhou.mcp.declarative.common中的Record Class
-
A simple immutable wrapper class for a single value.
- Immutable(T) - record class的构造器 com.github.codeboyzhou.mcp.declarative.common.Immutable
-
创建
Immutable记录的实例。 - initialize(DependencyInjector) - enum class中的方法 com.github.codeboyzhou.mcp.declarative.di.DependencyInjectorProvider
-
Initializes the
DependencyInjectorProviderwith the specifiedDependencyInjector. - injector - 类中的变量 com.github.codeboyzhou.mcp.declarative.server.component.AbstractMcpServerComponent
-
The dependency injector to use for injecting component attributes.
- INSTANCE - enum class 中的枚举常量 com.github.codeboyzhou.mcp.declarative.di.DependencyInjectorProvider
-
The singleton instance of
DependencyInjectorProvider. - INSTANCE - enum class 中的枚举常量 com.github.codeboyzhou.mcp.declarative.util.ReflectionHelper
-
The singleton instance of the ReflectionHelper enum.
- instructions - 类中的变量 com.github.codeboyzhou.mcp.declarative.server.McpServerInfo.Builder
-
The instructions of the MCP server.
- instructions() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration
-
返回
instructions记录组件的值。 - instructions() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpServerInfo
-
Returns the instructions of the MCP server.
- instructions(String) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration.Builder
-
Sets the server instructions.
- instructions(String) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpServerInfo.Builder
-
Sets the instructions of the MCP server.
- INT - enum class 中的枚举常量 com.github.codeboyzhou.mcp.declarative.enums.JavaTypeToJsonSchemaMapper
-
Java
intis mapped to JSON schema data typeinteger. - INTEGER - enum class 中的枚举常量 com.github.codeboyzhou.mcp.declarative.enums.JavaTypeToJsonSchemaMapper
-
Java
Integeris mapped to JSON schema data typeinteger. - InvocationResult - com.github.codeboyzhou.mcp.declarative.reflect中的Record Class
-
This record represents the result of reflection invocation of Java method.
- InvocationResult(Object, Immutable<Exception>) - record class的构造器 com.github.codeboyzhou.mcp.declarative.reflect.InvocationResult
-
创建
InvocationResult记录的实例。 - InvocationResult.Builder - com.github.codeboyzhou.mcp.declarative.reflect中的类
-
This class implements the builder pattern for creating a new instance of
InvocationResult. - invoke(Object, MethodCache) - enum class中的方法 com.github.codeboyzhou.mcp.declarative.util.ReflectionHelper
-
Invoke the method represented by the specified method cache on the given instance with no parameters.
- invoke(Object, MethodCache, McpSchema.CompleteRequest.CompleteArgument) - enum class中的方法 com.github.codeboyzhou.mcp.declarative.util.ReflectionHelper
-
Invoke the method represented by the specified method cache on the given instance with the provided argument.
- invoke(Object, MethodCache, List<Object>) - enum class中的方法 com.github.codeboyzhou.mcp.declarative.util.ReflectionHelper
-
Invoke the method represented by the specified method cache on the given instance with the provided parameters.
- isBlank(String) - 类中的静态方法 com.github.codeboyzhou.mcp.declarative.util.StringHelper
-
Checks if the given string is blank.
- isError() - record class中的方法 com.github.codeboyzhou.mcp.declarative.reflect.InvocationResult
-
Returns whether the invocation resulted in an error.
- isInitialized() - 接口中的方法 com.github.codeboyzhou.mcp.declarative.di.DependencyInjector
-
Returns whether the dependency injector is initialized.
- isInitialized() - 类中的方法 com.github.codeboyzhou.mcp.declarative.di.GuiceDependencyInjector
J
- JacksonHelper - com.github.codeboyzhou.mcp.declarative.util中的类
-
Helper class for Jackson JSON and YAML serialization and deserialization.
- JavaTypeToJsonSchemaMapper - com.github.codeboyzhou.mcp.declarative.enums中的Enum Class
-
This enum is used to map Java types to JSON schema data types.
K
- keepAliveInterval() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerStreamable
-
返回
keepAliveInterval记录组件的值。 - keepAliveInterval() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpStreamableServerInfo
-
Returns the interval to send keep-alive messages.
- keepAliveInterval(Long) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerStreamable.Builder
-
Sets the keep-alive interval.
- keepAliveInterval(Duration) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpStreamableServerInfo.Builder
-
Sets the interval to send keep-alive messages.
L
- loadConfig() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpConfigurationLoader
-
Loads the MCP server configuration from the specified YAML file.
- localizeAttribute(String, String) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.component.AbstractMcpServerComponent
-
Localizes the attribute with the specified i18n key using the resource bundle, or returns the default value if the key is not found in the bundle.
- LONG - enum class 中的枚举常量 com.github.codeboyzhou.mcp.declarative.enums.JavaTypeToJsonSchemaMapper
-
Java
longis mapped to JSON schema data typenumber. - LONG_CLASS - enum class 中的枚举常量 com.github.codeboyzhou.mcp.declarative.enums.JavaTypeToJsonSchemaMapper
-
Java
Longis mapped to JSON schema data typenumber.
M
- McpCompleteCompletion - com.github.codeboyzhou.mcp.declarative.server.component中的Record Class
-
Represents a completion result for MCP (Model Context Protocol) server operations.
- McpCompleteCompletion(List<String>, Integer, boolean) - record class的构造器 com.github.codeboyzhou.mcp.declarative.server.component.McpCompleteCompletion
-
Compact constructor that creates a defensive copy of the values list.
- McpCompleteCompletion.Builder - com.github.codeboyzhou.mcp.declarative.server.component中的类
-
Builder class for constructing
McpCompleteCompletioninstances. - McpConfigurationChecker - com.github.codeboyzhou.mcp.declarative.configuration中的类
-
Utility class for validating MCP server configuration properties.
- McpConfigurationLoader - com.github.codeboyzhou.mcp.declarative.configuration中的Record Class
-
This record represents a YAML configuration loader for MCP (Model Context Protocol) server configuration.
- McpConfigurationLoader() - record class的构造器 com.github.codeboyzhou.mcp.declarative.configuration.McpConfigurationLoader
-
Constructs a YAMLConfigurationLoader with the default configuration file name.
- McpConfigurationLoader(String) - record class的构造器 com.github.codeboyzhou.mcp.declarative.configuration.McpConfigurationLoader
-
创建
McpConfigurationLoader记录的实例。 - McpConfigurationMerger - com.github.codeboyzhou.mcp.declarative.configuration中的类
-
Utility class for merging MCP server configurations.
- mcpEndpoint() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerStreamable
-
返回
mcpEndpoint记录组件的值。 - mcpEndpoint() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpStreamableServerInfo
-
Returns the endpoint of the MCP server to send messages.
- mcpEndpoint(String) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerStreamable.Builder
-
Sets the MCP endpoint.
- mcpEndpoint(String) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpStreamableServerInfo.Builder
-
Sets the endpoint of the MCP server to send messages.
- McpI18nEnabled - com.github.codeboyzhou.mcp.declarative.annotation中的Annotation Interface
-
This annotation is used to mark a class as i18n enabled.
- McpJsonSchemaDefinition - com.github.codeboyzhou.mcp.declarative.annotation中的Annotation Interface
-
This annotation is used to define the complex JSON schema type (such as custom Java data classes) for an MCP (Model Context Protocol) server.
- McpJsonSchemaProperty - com.github.codeboyzhou.mcp.declarative.annotation中的Annotation Interface
-
This annotation is used to define the property of a complex JSON schema type (such as custom Java data classes) for an MCP (Model Context Protocol) server.
- McpPrompt - com.github.codeboyzhou.mcp.declarative.annotation中的Annotation Interface
-
This annotation is used to mark a method as an MCP (Model Context Protocol) prompt method.
- McpPromptCompletion - com.github.codeboyzhou.mcp.declarative.annotation中的Annotation Interface
-
Annotation for marking methods that provide completion functionality for MCP prompts.
- McpPromptParam - com.github.codeboyzhou.mcp.declarative.annotation中的Annotation Interface
-
This annotation is used to mark a method parameter as an MCP (Model Context Protocol) prompt parameter.
- McpPromptParameterConverter - com.github.codeboyzhou.mcp.declarative.server.converter中的类
-
This class is used to convert the value of a parameter annotated with
McpPromptParamto the required type. - McpPromptParameterConverter() - 类的构造器 com.github.codeboyzhou.mcp.declarative.server.converter.McpPromptParameterConverter
- McpResource - com.github.codeboyzhou.mcp.declarative.annotation中的Annotation Interface
-
This annotation is used to mark a method as an MCP (Model Context Protocol) resource method.
- McpResourceCompletion - com.github.codeboyzhou.mcp.declarative.annotation中的Annotation Interface
-
Annotation for marking methods that provide completion functionality for MCP resources.
- McpServer<S extends McpServerInfo> - com.github.codeboyzhou.mcp.declarative.server中的接口
-
This interface is used to define the contract for an MCP server.
- McpServerApplication - com.github.codeboyzhou.mcp.declarative.annotation中的Annotation Interface
-
This annotation is used to mark a class as an MCP (Model Context Protocol) server application.
- McpServerCapabilities - com.github.codeboyzhou.mcp.declarative.configuration中的Record Class
-
This record represents the capabilities of an MCP (Model Context Protocol) server.
- McpServerCapabilities(Boolean, Boolean, Boolean, Boolean, Boolean) - record class的构造器 com.github.codeboyzhou.mcp.declarative.configuration.McpServerCapabilities
-
创建
McpServerCapabilities记录的实例。 - McpServerCapabilities.Builder - com.github.codeboyzhou.mcp.declarative.configuration中的类
-
Builder class for
McpServerCapabilities. - McpServerChangeNotification - com.github.codeboyzhou.mcp.declarative.configuration中的Record Class
-
This record represents a change notification for MCP (Model Context Protocol) server capabilities.
- McpServerChangeNotification(Boolean, Boolean, Boolean) - record class的构造器 com.github.codeboyzhou.mcp.declarative.configuration.McpServerChangeNotification
-
创建
McpServerChangeNotification记录的实例。 - McpServerChangeNotification.Builder - com.github.codeboyzhou.mcp.declarative.configuration中的类
-
Builder class for
McpServerChangeNotification. - McpServerCompletion - com.github.codeboyzhou.mcp.declarative.server.component中的类
-
MCP server component for handling completion requests.
- McpServerCompletion() - 类的构造器 com.github.codeboyzhou.mcp.declarative.server.component.McpServerCompletion
- McpServerComponent<T> - com.github.codeboyzhou.mcp.declarative.server.component中的接口
-
This interface represents an MCP server component (resource/prompt/tool) that is responsible for creating instances of a specific type
Tfor a given method. - McpServerComponentRegister - com.github.codeboyzhou.mcp.declarative.server.component中的类
-
Central registry for MCP server components including resources, prompts, tools, and completions.
- McpServerComponentRegister() - 类的构造器 com.github.codeboyzhou.mcp.declarative.server.component.McpServerComponentRegister
-
Creates a new instance of
McpServerComponentRegister. - McpServerComponentRegistrationException - com.github.codeboyzhou.mcp.declarative.exception中的异常错误
-
Exception thrown when an error occurs during MCP server component registration.
- McpServerComponentRegistrationException(String) - 异常错误的构造器 com.github.codeboyzhou.mcp.declarative.exception.McpServerComponentRegistrationException
-
Constructs a new
McpServerComponentRegistrationExceptionwith the specified detail message. - McpServerComponentRegistrationException(String, Throwable) - 异常错误的构造器 com.github.codeboyzhou.mcp.declarative.exception.McpServerComponentRegistrationException
-
Constructs a new
McpServerComponentRegistrationExceptionwith the specified detail message and cause. - McpServerConfiguration - com.github.codeboyzhou.mcp.declarative.configuration中的Record Class
-
This record represents the configuration of an MCP (Model Context Protocol) server.
- McpServerConfiguration(String, Boolean, ServerMode, String, String, ServerType, String, Long, McpServerCapabilities, McpServerChangeNotification, McpServerSSE, McpServerStreamable) - record class的构造器 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration
-
创建
McpServerConfiguration记录的实例。 - McpServerConfiguration.Builder - com.github.codeboyzhou.mcp.declarative.configuration中的类
-
Builder class for
McpServerConfiguration. - McpServerConfigurationException - com.github.codeboyzhou.mcp.declarative.exception中的异常错误
-
This exception is thrown to indicate a configuration error in the MCP (Model Context Protocol) server.
- McpServerConfigurationException(String) - 异常错误的构造器 com.github.codeboyzhou.mcp.declarative.exception.McpServerConfigurationException
-
Creates a new instance of
McpServerConfigurationExceptionwith the specified detail message. - McpServerConfigurationException(String, Throwable) - 异常错误的构造器 com.github.codeboyzhou.mcp.declarative.exception.McpServerConfigurationException
-
Creates a new instance of
McpServerConfigurationExceptionwith the specified detail message and cause. - McpServerException - com.github.codeboyzhou.mcp.declarative.exception中的异常错误
-
This exception is thrown to indicate a general error in the MCP (Model Context Protocol) server.
- McpServerException(String) - 异常错误的构造器 com.github.codeboyzhou.mcp.declarative.exception.McpServerException
-
Creates a new instance of
McpServerExceptionwith the specified detail message. - McpServerException(String, Throwable) - 异常错误的构造器 com.github.codeboyzhou.mcp.declarative.exception.McpServerException
-
Creates a new instance of
McpServerExceptionwith the specified detail message and cause. - McpServerInfo - com.github.codeboyzhou.mcp.declarative.server中的类
-
This class is used to define the common configuration for the MCP server.
- McpServerInfo(McpServerInfo.Builder<?>) - 类的构造器 com.github.codeboyzhou.mcp.declarative.server.McpServerInfo
-
Creates a new instance of
McpServerInfowith the specified builder. - McpServerInfo.Builder<T extends McpServerInfo.Builder<T>> - com.github.codeboyzhou.mcp.declarative.server中的类
-
The builder class for
McpServerInfo. - McpServerJsonProcessingException - com.github.codeboyzhou.mcp.declarative.exception中的异常错误
-
This exception is thrown to indicate a JSON processing error in the MCP (Model Context Protocol) server.
- McpServerJsonProcessingException(String) - 异常错误的构造器 com.github.codeboyzhou.mcp.declarative.exception.McpServerJsonProcessingException
-
Creates a new instance of
McpServerJsonProcessingExceptionwith the specified detail message. - McpServerJsonProcessingException(String, Throwable) - 异常错误的构造器 com.github.codeboyzhou.mcp.declarative.exception.McpServerJsonProcessingException
-
Creates a new instance of
McpServerJsonProcessingExceptionwith the specified detail message and cause. - McpServerPrompt - com.github.codeboyzhou.mcp.declarative.server.component中的类
-
This class represents an MCP server prompt component.
- McpServerPrompt() - 类的构造器 com.github.codeboyzhou.mcp.declarative.server.component.McpServerPrompt
-
Creates a new instance of
McpServerPrompt. - McpServerResource - com.github.codeboyzhou.mcp.declarative.server.component中的类
-
This class represents an MCP server resource component.
- McpServerResource() - 类的构造器 com.github.codeboyzhou.mcp.declarative.server.component.McpServerResource
- McpServers - com.github.codeboyzhou.mcp.declarative中的类
-
This class is a singleton that provides methods to start MCP servers.
- McpServerSSE - com.github.codeboyzhou.mcp.declarative.configuration中的Record Class
-
This record represents the Server-Sent Events (SSE) configuration for an MCP (Model Context Protocol) server.
- McpServerSSE(String, String, String, Integer) - record class的构造器 com.github.codeboyzhou.mcp.declarative.configuration.McpServerSSE
-
创建
McpServerSSE记录的实例。 - McpServerSSE.Builder - com.github.codeboyzhou.mcp.declarative.configuration中的类
-
Builder class for
McpServerSSE. - McpServerStreamable - com.github.codeboyzhou.mcp.declarative.configuration中的Record Class
-
This record represents the streamable http server configuration for an MCP (Model Context Protocol) server.
- McpServerStreamable(String, Boolean, Long, Integer) - record class的构造器 com.github.codeboyzhou.mcp.declarative.configuration.McpServerStreamable
-
创建
McpServerStreamable记录的实例。 - McpServerStreamable.Builder - com.github.codeboyzhou.mcp.declarative.configuration中的类
-
Builder class for
McpServerStreamable. - McpServerTool - com.github.codeboyzhou.mcp.declarative.server.component中的类
-
This class represents an MCP server tool component.
- McpServerTool() - 类的构造器 com.github.codeboyzhou.mcp.declarative.server.component.McpServerTool
-
Creates a new instance of
McpServerTool. - McpSseServer - com.github.codeboyzhou.mcp.declarative.server中的类
-
This class is used to create a new instance of
McpSseServerbased on the specifiedMcpSseServerInfoin HTTP SSE mode. - McpSseServer() - 类的构造器 com.github.codeboyzhou.mcp.declarative.server.McpSseServer
- McpSseServerInfo - com.github.codeboyzhou.mcp.declarative.server中的类
-
This class is used to define the information of the MCP server with HTTP SSE support.
- McpSseServerInfo.Builder - com.github.codeboyzhou.mcp.declarative.server中的类
-
The builder class for
McpSseServerInfo. - McpStdioServer - com.github.codeboyzhou.mcp.declarative.server中的类
-
This class is used to create a new instance of
McpStdioServerbased on the specifiedMcpServerInfoin STDIO mode. - McpStdioServer() - 类的构造器 com.github.codeboyzhou.mcp.declarative.server.McpStdioServer
- McpStreamableServer - com.github.codeboyzhou.mcp.declarative.server中的类
-
This class is used to create a new instance of
McpStreamableServerbased on the specifiedMcpStreamableServerInfoin Streamable HTTP mode. - McpStreamableServer() - 类的构造器 com.github.codeboyzhou.mcp.declarative.server.McpStreamableServer
- McpStreamableServerInfo - com.github.codeboyzhou.mcp.declarative.server中的类
-
This class is used to define the information of the MCP server with streamable http support.
- McpStreamableServerInfo.Builder - com.github.codeboyzhou.mcp.declarative.server中的类
-
The builder class for
McpStreamableServerInfo. - McpStructuredContent - com.github.codeboyzhou.mcp.declarative.server中的接口
-
Marker interface for MCP tool method results that return structured content.
- McpTool - com.github.codeboyzhou.mcp.declarative.annotation中的Annotation Interface
-
This annotation is used to mark a method as an MCP (Model Context Protocol) tool method.
- McpToolParam - com.github.codeboyzhou.mcp.declarative.annotation中的Annotation Interface
-
This annotation is used to mark a method parameter as an MCP (Model Context Protocol) tool parameter.
- McpToolParameterConverter - com.github.codeboyzhou.mcp.declarative.server.converter中的类
-
This class is used to convert the value of a parameter annotated with
McpToolParamto the required type. - McpToolParameterConverter() - 类的构造器 com.github.codeboyzhou.mcp.declarative.server.converter.McpToolParameterConverter
- merge(McpServerConfiguration, McpServerConfiguration) - 类中的静态方法 com.github.codeboyzhou.mcp.declarative.configuration.McpConfigurationMerger
-
Merges base and profile MCP server configurations.
- messageEndpoint() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerSSE
-
返回
messageEndpoint记录组件的值。 - messageEndpoint() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpSseServerInfo
-
Returns the endpoint of the MCP server to send messages.
- messageEndpoint(String) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerSSE.Builder
-
Sets the message endpoint.
- messageEndpoint(String) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpSseServerInfo.Builder
-
Sets the endpoint of the MCP server to send messages.
- MethodCache - com.github.codeboyzhou.mcp.declarative.reflect中的类
-
This class caches information about a Java method, including its name, declaring class, parameters, and annotations.
- MethodCache(Method) - 类的构造器 com.github.codeboyzhou.mcp.declarative.reflect.MethodCache
-
Creates a new instance of
MethodCachewith the specified method. - mimeType() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpResource
-
The MIME type of the resource.
- mode() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration
-
返回
mode记录组件的值。 - mode(ServerMode) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration.Builder
-
Sets the server mode.
N
- name - 类中的变量 com.github.codeboyzhou.mcp.declarative.server.McpServerInfo.Builder
-
The name of the MCP server.
- name() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpJsonSchemaProperty
-
The name of the JSON schema property.
- name() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpPrompt
-
The name of the prompt.
- name() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpPromptCompletion
-
Specifies the name of the prompt for which completion is provided.
- name() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpPromptParam
-
The name of the prompt parameter.
- name() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpResource
-
The name of the resource.
- name() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpTool
-
The name of the tool.
- name() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpToolParam
-
The name of the tool parameter.
- name() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration
-
返回
name记录组件的值。 - name() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpServerInfo
-
Returns the name of the MCP server.
- name(String) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration.Builder
-
Sets the server name.
- name(String) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpServerInfo.Builder
-
Sets the name of the MCP server.
- NamedThreadFactory - com.github.codeboyzhou.mcp.declarative.common中的类
-
A thread factory that creates threads with a specified name prefix.
- NamedThreadFactory(String) - 类的构造器 com.github.codeboyzhou.mcp.declarative.common.NamedThreadFactory
-
Creates a new instance of
NamedThreadFactorywith the specified name prefix. - newThread(Runnable) - 类中的方法 com.github.codeboyzhou.mcp.declarative.common.NamedThreadFactory
- NUMBER - enum class 中的枚举常量 com.github.codeboyzhou.mcp.declarative.enums.JavaTypeToJsonSchemaMapper
-
Java
Numberis mapped to JSON schema data typenumber.
O
- OBJECT - enum class 中的枚举常量 com.github.codeboyzhou.mcp.declarative.enums.JavaTypeToJsonSchemaMapper
-
Java
Objectis mapped to JSON schema data typeobject. - of(Method) - 类中的静态方法 com.github.codeboyzhou.mcp.declarative.reflect.MethodCache
-
Creates a new instance of
MethodCachewith the specified method. - of(T) - record class中的静态方法 com.github.codeboyzhou.mcp.declarative.common.Immutable
-
Creates a new instance of
Immutablewith the specified value.
P
- ParameterConverter<A extends Annotation> - com.github.codeboyzhou.mcp.declarative.server.converter中的接口
-
This interface is used to convert the value of a parameter annotated with
ParameterConverterto the required type. - port() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerSSE
-
返回
port记录组件的值。 - port() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerStreamable
-
返回
port记录组件的值。 - port() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpSseServerInfo
-
Returns the port of the MCP HTTP server.
- port() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpStreamableServerInfo
-
Returns the port of the MCP HTTP server.
- port(int) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpSseServerInfo.Builder
-
Sets the port of the MCP HTTP server.
- port(int) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpStreamableServerInfo.Builder
-
Sets the port of the MCP HTTP server.
- port(Integer) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerSSE.Builder
-
Sets the port.
- port(Integer) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerStreamable.Builder
-
Sets the port.
- priority() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpResource
-
The priority of the resource.
- profile() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration
-
返回
profile记录组件的值。 - profile(String) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration.Builder
-
Sets the profile.
- prompt() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerCapabilities
-
返回
prompt记录组件的值。 - prompt() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerChangeNotification
-
返回
prompt记录组件的值。 - prompt(Boolean) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerCapabilities.Builder
-
Sets the prompt capability.
- prompt(Boolean) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerChangeNotification.Builder
-
Sets the prompt change notification flag.
- provideReflections() - 类中的方法 com.github.codeboyzhou.mcp.declarative.di.GuiceInjectorModule
-
Provides a
Reflectionsinstance for the main class. - provideResourceBundle() - 类中的方法 com.github.codeboyzhou.mcp.declarative.di.GuiceInjectorModule
-
Provides a
ResourceBundleinstance for the main class.
R
- ReflectionHelper - com.github.codeboyzhou.mcp.declarative.util中的Enum Class
-
Helper class for reflection operations.
- registerCompletions() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.component.McpServerComponentRegister
-
Registers all completion specifications for prompts and resources.
- registerComponents(McpSyncServer) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.component.McpServerComponentRegister
-
Registers all MCP server components (resources, prompts, and tools) with the specified server.
- requestTimeout - 类中的变量 com.github.codeboyzhou.mcp.declarative.server.McpServerInfo.Builder
-
The request timeout of the MCP server.
- requestTimeout() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration
-
返回
requestTimeout记录组件的值。 - requestTimeout() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpServerInfo
-
Returns the request timeout of the MCP server.
- requestTimeout(Long) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration.Builder
-
Sets the request timeout.
- requestTimeout(Duration) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpServerInfo.Builder
-
Sets the request timeout of the MCP server.
- required() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpJsonSchemaProperty
-
Whether the JSON schema property is required.
- required() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpPromptParam
-
Whether the prompt parameter is required.
- required() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpToolParam
-
Whether the tool parameter is required.
- resource() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerCapabilities
-
返回
resource记录组件的值。 - resource() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerChangeNotification
-
返回
resource记录组件的值。 - resource(Boolean) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerCapabilities.Builder
-
Sets the resource capability.
- resource(Boolean) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerChangeNotification.Builder
-
Sets the resource change notification flag.
- resourceBundleBaseName() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpI18nEnabled
-
Specifies the base name of the resource bundle to be used for i18n.
- result() - record class中的方法 com.github.codeboyzhou.mcp.declarative.reflect.InvocationResult
-
返回
result记录组件的值。 - result(Object) - 类中的方法 com.github.codeboyzhou.mcp.declarative.reflect.InvocationResult.Builder
-
Sets the result of the invocation.
- roles() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpResource
-
The roles required to access the resource.
- run(Class<?>, String[]) - 类中的静态方法 com.github.codeboyzhou.mcp.declarative.McpServers
-
Initializes the McpServers instance with the specified application main class and arguments.
S
- self() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpServerInfo.Builder
-
Returns the self reference of the builder, which is used to chain the method calls and ensure the subclasses of
McpServerInfocan also inherit the builder methods with parameterized type. - self() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpSseServerInfo.Builder
-
Returns the self reference of the builder, which is used to chain the method calls.
- self() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpStreamableServerInfo.Builder
-
Returns the self reference of the builder, which is used to chain the method calls.
- ServerMode - com.github.codeboyzhou.mcp.declarative.enums中的Enum Class
-
This enum represents the mode of MCP (Model Context Protocol) server.
- ServerType - com.github.codeboyzhou.mcp.declarative.enums中的Enum Class
-
This enum represents the type of MCP (Model Context Protocol) server.
- SPACE - 类中的静态变量 com.github.codeboyzhou.mcp.declarative.util.StringHelper
-
The space character constant.
- sse() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration
-
返回
sse记录组件的值。 - sse(McpServerSSE) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration.Builder
-
Sets the SSE configuration.
- SSE - enum class 中的枚举常量 com.github.codeboyzhou.mcp.declarative.enums.ServerMode
-
The MCP server runs in http
SSEmode. - sseEndpoint() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpSseServerInfo
-
Returns the endpoint of the MCP server to receive SSE events.
- sseEndpoint(String) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpSseServerInfo.Builder
-
Sets the endpoint of the MCP server to receive SSE events.
- start() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.EmbeddedJettyServer
-
Start Jetty HTTP server and bind it to the specified port.
- start(S) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.AbstractMcpServer
-
Starts the MCP server with the specified server info.
- startServer() - 类中的方法 com.github.codeboyzhou.mcp.declarative.McpServers
-
Starts a server with the default configuration file name.
- startServer() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.configurable.AbstractConfigurableMcpServer
-
Starts the MCP server.
- startServer(String) - 类中的方法 com.github.codeboyzhou.mcp.declarative.McpServers
-
Starts a server with the specified configuration file name.
- startSseServer(McpSseServerInfo) - 类中的方法 com.github.codeboyzhou.mcp.declarative.McpServers
-
Starts a http server-sent events (sse) server with the specified server info.
- startStdioServer(McpServerInfo) - 类中的方法 com.github.codeboyzhou.mcp.declarative.McpServers
-
Starts a standard input/output (stdio) server with the specified server info.
- startStreamableServer(McpStreamableServerInfo) - 类中的方法 com.github.codeboyzhou.mcp.declarative.McpServers
-
Starts a streamable http server with the specified server info.
- STDIO - enum class 中的枚举常量 com.github.codeboyzhou.mcp.declarative.enums.ServerMode
-
The MCP server runs in
STDIOmode. - streamable() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration
-
返回
streamable记录组件的值。 - streamable(McpServerStreamable) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration.Builder
-
Sets the streamable configuration.
- STREAMABLE - enum class 中的枚举常量 com.github.codeboyzhou.mcp.declarative.enums.ServerMode
-
The MCP server runs in
STREAMABLEhttp mode. - STRING - enum class 中的枚举常量 com.github.codeboyzhou.mcp.declarative.enums.JavaTypeToJsonSchemaMapper
-
Java
Stringis mapped to JSON schema data typestring. - StringHelper - com.github.codeboyzhou.mcp.declarative.util中的类
-
Helper class for string operations.
- subscribeResource() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerCapabilities
-
返回
subscribeResource记录组件的值。 - subscribeResource(Boolean) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerCapabilities.Builder
-
Sets the subscribe-resource capability.
- sync() - 接口中的方法 com.github.codeboyzhou.mcp.declarative.server.configurable.ConfigurableMcpServer
-
Returns the sync specification for the MCP server.
- sync() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.configurable.ConfigurableMcpSseServer
-
Returns the sync specification for the MCP server in HTTP SSE mode.
- sync() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.configurable.ConfigurableMcpStdioServer
-
Returns the sync specification for the MCP server in STDIO mode.
- sync() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.configurable.ConfigurableMcpStreamableServer
-
Returns the sync specification for the MCP server in Streamable HTTP mode.
- sync(McpServerInfo) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpStdioServer
-
Returns the sync specification for the MCP server in STDIO mode.
- sync(McpSseServerInfo) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpSseServer
-
Returns the sync specification for the MCP server in HTTP SSE mode.
- sync(McpStreamableServerInfo) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpStreamableServer
-
Returns the sync specification for the MCP server in Streamable HTTP mode.
- sync(S) - 接口中的方法 com.github.codeboyzhou.mcp.declarative.server.McpServer
-
Returns the sync specification for the MCP server.
- SYNC - enum class 中的枚举常量 com.github.codeboyzhou.mcp.declarative.enums.ServerType
-
The MCP server runs in
SYNCmode.
T
- title() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpPrompt
-
The title of the prompt.
- title() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpPromptCompletion
-
Specifies an optional title or description for the prompt completion.
- title() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpPromptParam
-
The title of the prompt parameter.
- title() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpResource
-
The title of the resource.
- title() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpTool
-
The title of the tool.
- toJsonString(Object) - 类中的静态方法 com.github.codeboyzhou.mcp.declarative.util.JacksonHelper
-
Serialize an object to a JSON string.
- tool() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerCapabilities
-
返回
tool记录组件的值。 - tool() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerChangeNotification
-
返回
tool记录组件的值。 - tool(Boolean) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerCapabilities.Builder
-
Sets the tool capability.
- tool(Boolean) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerChangeNotification.Builder
-
Sets the tool change notification flag.
- toString() - record class中的方法 com.github.codeboyzhou.mcp.declarative.common.Immutable
-
返回此记录的字符串表示形式。
- toString() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpConfigurationLoader
-
返回此记录的字符串表示形式。
- toString() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerCapabilities
-
返回此记录的字符串表示形式。
- toString() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerChangeNotification
-
返回此记录的字符串表示形式。
- toString() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration
-
返回此记录的字符串表示形式。
- toString() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerSSE
-
返回此记录的字符串表示形式。
- toString() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerStreamable
-
返回此记录的字符串表示形式。
- toString() - record class中的方法 com.github.codeboyzhou.mcp.declarative.reflect.InvocationResult
-
返回此记录的字符串表示形式。
- toString() - 类中的方法 com.github.codeboyzhou.mcp.declarative.reflect.MethodCache
- toString() - record class中的方法 com.github.codeboyzhou.mcp.declarative.server.component.McpCompleteCompletion
-
返回此记录的字符串表示形式。
- total() - record class中的方法 com.github.codeboyzhou.mcp.declarative.server.component.McpCompleteCompletion
-
返回
total记录组件的值。 - total(Integer) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.component.McpCompleteCompletion.Builder
-
Sets the total number of available completions.
- type() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration
-
返回
type记录组件的值。 - type(ServerType) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration.Builder
-
Sets the server type.
- TypeConverter - com.github.codeboyzhou.mcp.declarative.util中的类
-
Helper class for Java and JSON schema type conversion.
U
- uri() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpResource
-
The URI of the resource.
- uri() - annotation interface 中的元素 com.github.codeboyzhou.mcp.declarative.annotation.McpResourceCompletion
-
Specifies the URI of the resource for which completion is provided.
- use(HttpServlet) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.EmbeddedJettyServer
-
Register a servlet to be handled by Jetty HTTP server.
V
- value() - record class中的方法 com.github.codeboyzhou.mcp.declarative.common.Immutable
-
返回
value记录组件的值。 - valueOf(String) - enum class中的静态方法 com.github.codeboyzhou.mcp.declarative.di.DependencyInjectorProvider
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - enum class中的静态方法 com.github.codeboyzhou.mcp.declarative.enums.JavaTypeToJsonSchemaMapper
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - enum class中的静态方法 com.github.codeboyzhou.mcp.declarative.enums.ServerMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - enum class中的静态方法 com.github.codeboyzhou.mcp.declarative.enums.ServerType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - enum class中的静态方法 com.github.codeboyzhou.mcp.declarative.util.ReflectionHelper
-
Returns the enum constant of this class with the specified name.
- values() - enum class中的静态方法 com.github.codeboyzhou.mcp.declarative.di.DependencyInjectorProvider
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - enum class中的静态方法 com.github.codeboyzhou.mcp.declarative.enums.JavaTypeToJsonSchemaMapper
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - enum class中的静态方法 com.github.codeboyzhou.mcp.declarative.enums.ServerMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - enum class中的静态方法 com.github.codeboyzhou.mcp.declarative.enums.ServerType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - record class中的方法 com.github.codeboyzhou.mcp.declarative.server.component.McpCompleteCompletion
-
返回
values记录组件的值。 - values() - enum class中的静态方法 com.github.codeboyzhou.mcp.declarative.util.ReflectionHelper
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values(List<String>) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.component.McpCompleteCompletion.Builder
-
Sets the completion values with defensive copying.
- version - 类中的变量 com.github.codeboyzhou.mcp.declarative.server.McpServerInfo.Builder
-
The version of the MCP server.
- version() - record class中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration
-
返回
version记录组件的值。 - version() - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpServerInfo
-
Returns the version of the MCP server.
- version(String) - 类中的方法 com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration.Builder
-
Sets the server version.
- version(String) - 类中的方法 com.github.codeboyzhou.mcp.declarative.server.McpServerInfo.Builder
-
Sets the version of the MCP server.
All Classes and Interfaces|常量字段值|所有程序包|序列化表格