Class RestConfig

java.lang.Object
org.apache.dubbo.config.nested.RestConfig
All Implemented Interfaces:
Serializable

public class RestConfig extends Object implements Serializable
Configuration for triple rest protocol.
See Also:
  • 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

      public static final String DEFAULT_FORMAT_PARAMETER_NAME
      See Also:
  • Constructor Details

    • RestConfig

      public RestConfig()
  • Method Details

    • getEnabled

      public Boolean getEnabled()
    • setEnabled

      public void setEnabled(Boolean enabled)
    • getEnableDefaultMapping

      public Boolean getEnableDefaultMapping()
    • setEnableDefaultMapping

      public void setEnableDefaultMapping(Boolean enableDefaultMapping)
    • getTrailingSlashMatch

      public Boolean getTrailingSlashMatch()
    • getTrailingSlashMatchOrDefault

      @Parameter(excluded=true) public boolean getTrailingSlashMatchOrDefault()
    • setTrailingSlashMatch

      public void setTrailingSlashMatch(Boolean trailingSlashMatch)
    • getSuffixPatternMatch

      public Boolean getSuffixPatternMatch()
    • getSuffixPatternMatchOrDefault

      @Parameter(excluded=true) public boolean getSuffixPatternMatchOrDefault()
    • setSuffixPatternMatch

      public void setSuffixPatternMatch(Boolean suffixPatternMatch)
    • getCaseSensitiveMatch

      public Boolean getCaseSensitiveMatch()
    • getCaseSensitiveMatchOrDefault

      @Parameter(excluded=true) public boolean getCaseSensitiveMatchOrDefault()
    • setCaseSensitiveMatch

      public void setCaseSensitiveMatch(Boolean caseSensitiveMatch)
    • getFormatParameterName

      public String getFormatParameterName()
    • getFormatParameterNameOrDefault

      @Parameter(excluded=true) public String getFormatParameterNameOrDefault()
    • setFormatParameterName

      public void setFormatParameterName(String formatParameterName)
    • getJsonFramework

      public String getJsonFramework()
    • setJsonFramework

      public void setJsonFramework(String jsonFramework)
    • getDisallowedContentTypes

      public String[] getDisallowedContentTypes()
    • setDisallowedContentTypes

      public void setDisallowedContentTypes(String[] disallowedContentTypes)
    • getCors

      public CorsConfig getCors()
    • getCorsOrDefault

      @Parameter(excluded=true) public CorsConfig getCorsOrDefault()
    • setCors

      public void setCors(CorsConfig cors)
    • getOpenapi

      @Parameter(excluded=true) public OpenAPIConfig getOpenapi()
    • setOpenapi

      @Parameter(attribute=false) public void setOpenapi(OpenAPIConfig openapi)
    • getOpenapis

      @Parameter(excluded=true) public Map<String,OpenAPIConfig> getOpenapis()
    • setOpenapis

      @Parameter(attribute=false) public void setOpenapis(Map<String,OpenAPIConfig> openapis)