Class DomainExtendProp

  • All Implemented Interfaces:

    @ConfigurationProperties(value = DomainExtendProp.Key) 
    public class DomainExtendProp
    
                        

    Host Extend and URL Override. wings-domain-extend-79.properties

    Since:

    2021-02-14

    Author:

    trydofor

    • Constructor Detail

      • DomainExtendProp

        DomainExtendProp()
    • Method Detail

      • getCacheSize

         int getCacheSize()

        cache size of matched and unmatched url, caution when RESTful

      • setCacheSize

         void setCacheSize(int cacheSize)

        cache size of matched and unmatched url, caution when RESTful

      • getPrefix

         String getPrefix()

        the uniform domain prefix of the mapping and resource Url.

      • setPrefix

         void setPrefix(String prefix)

        the uniform domain prefix of the mapping and resource Url.

      • getHost

         Map<String, Set<String>> getHost()

        host mapping, FilenameUtils.wildcardMatch, eg. `trydofor`=`*.trydofor.com, trydofor.com`

      • setHost

         void setHost(Map<String, Set<String>> host)

        host mapping, FilenameUtils.wildcardMatch, eg. `trydofor`=`*.trydofor.com, trydofor.com`

      • getOtherUrl

         List<String> getOtherUrl()

        specified domain url that is not automatically detected. ant match style, eg. `other-url`=`/trydofor/b/c.html`

      • setOtherUrl

         void setOtherUrl(List<String> otherUrl)

        specified domain url that is not automatically detected. ant match style, eg. `other-url`=`/trydofor/b/c.html`