类 CORSSettingInProfile

java.lang.Object
org.coodex.servlet.cors.impl.CORSSettingInProfile
所有已实现的接口:
CORSSetting

public class CORSSettingInProfile extends Object implements CORSSetting
作者:
davidoff
  • 构造器详细资料

    • CORSSettingInProfile

      public CORSSettingInProfile()
    • CORSSettingInProfile

      public CORSSettingInProfile(String profileName)
  • 方法详细资料

    • allowOrigin

      public String allowOrigin()
      指定者:
      allowOrigin 在接口中 CORSSetting
      返回:
      空格或逗号分隔,为null表示不需要设置
    • exposeHeaders

      public String exposeHeaders()
      指定者:
      exposeHeaders 在接口中 CORSSetting
      返回:
      依RFC 2616规范,使用逗号分隔,为null表示不需要设置
    • allowMethod

      public String allowMethod()
      指定者:
      allowMethod 在接口中 CORSSetting
      返回:
      依RFC 2616规范,使用逗号分隔,为null表示不需要设置
    • allowHeaders

      public String allowHeaders()
      指定者:
      allowHeaders 在接口中 CORSSetting
      返回:
      依RFC 2616规范,使用逗号分隔,为null表示不需要设置
    • maxAge

      public Long maxAge()
      指定者:
      maxAge 在接口中 CORSSetting
      返回:
      为null表示不需要设置
    • allowCredentials

      public Boolean allowCredentials()
      指定者:
      allowCredentials 在接口中 CORSSetting
      返回:
      为null表示不需要设置