Package org.apache.dubbo.config.nested
Class RestConfig
java.lang.Object
org.apache.dubbo.config.nested.RestConfig
- All Implemented Interfaces:
Serializable
Configuration for triple rest protocol.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanstatic final Stringstatic final booleanstatic final boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCors()String[]booleanbooleanvoidsetCaseSensitiveMatch(Boolean caseSensitiveMatch) voidsetCors(CorsConfig cors) voidsetDisallowedContentTypes(String[] disallowedContentTypes) voidsetEnabled(Boolean enabled) voidsetEnableDefaultMapping(Boolean enableDefaultMapping) voidsetFormatParameterName(String formatParameterName) voidsetJsonFramework(String jsonFramework) voidsetOpenapi(OpenAPIConfig openapi) voidsetOpenapis(Map<String, OpenAPIConfig> openapis) voidsetSuffixPatternMatch(Boolean suffixPatternMatch) voidsetTrailingSlashMatch(Boolean trailingSlashMatch)
-
Field Details
-
DEFAULT_TRAILING_SLASH_MATCH
public static final boolean DEFAULT_TRAILING_SLASH_MATCH- See Also:
-
DEFAULT_SUFFIX_PATTERN_MATCH
public static final boolean DEFAULT_SUFFIX_PATTERN_MATCH- See Also:
-
DEFAULT_CASE_SENSITIVE_MATCH
public static final boolean DEFAULT_CASE_SENSITIVE_MATCH- See Also:
-
DEFAULT_FORMAT_PARAMETER_NAME
- See Also:
-
-
Constructor Details
-
RestConfig
public RestConfig()
-
-
Method Details
-
getEnabled
-
setEnabled
-
getEnableDefaultMapping
-
setEnableDefaultMapping
-
getTrailingSlashMatch
-
getTrailingSlashMatchOrDefault
-
setTrailingSlashMatch
-
getSuffixPatternMatch
-
getSuffixPatternMatchOrDefault
-
setSuffixPatternMatch
-
getCaseSensitiveMatch
-
getCaseSensitiveMatchOrDefault
-
setCaseSensitiveMatch
-
getFormatParameterName
-
getFormatParameterNameOrDefault
-
setFormatParameterName
-
getJsonFramework
-
setJsonFramework
-
getDisallowedContentTypes
-
setDisallowedContentTypes
-
getCors
-
getCorsOrDefault
-
setCors
-
getOpenapi
-
setOpenapi
-
getOpenapis
-
setOpenapis
-