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) voidsetFormatParameterName(String formatParameterName) voidsetJsonFramework(String jsonFramework) 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
-
getTrailingSlashMatch
-
getTrailingSlashMatchOrDefault
-
setTrailingSlashMatch
-
getSuffixPatternMatch
-
getSuffixPatternMatchOrDefault
-
setSuffixPatternMatch
-
getCaseSensitiveMatch
-
getCaseSensitiveMatchOrDefault
-
setCaseSensitiveMatch
-
getFormatParameterName
-
getFormatParameterNameOrDefault
-
setFormatParameterName
-
getJsonFramework
-
setJsonFramework
-
getDisallowedContentTypes
-
setDisallowedContentTypes
-
getCors
-
getCorsOrDefault
-
setCors
-