Class NuxeoCorsFilterDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.platform.web.common.requestcontroller.service.NuxeoCorsFilterDescriptor
-
- All Implemented Interfaces:
Cloneable
public class NuxeoCorsFilterDescriptor extends Object implements Cloneable
- Since:
- 5.7.2
- Author:
- Arnaud Kervern
-
-
Field Summary
Fields Modifier and Type Field Description protected Boolean
allowGenericHttpRequests
protected String
allowOrigin
protected boolean
allowSubdomains
protected Boolean
enabled
protected String
exposedHeaders
protected com.thetransactioncompany.cors.CORSFilter
filter
protected int
maxAge
protected String
name
protected Pattern
pattern
protected String
supportedHeaders
protected String
supportedMethods
protected Boolean
supportsCredentials
-
Constructor Summary
Constructors Constructor Description NuxeoCorsFilterDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Dictionary<String,String>
buildDictionary()
protected javax.servlet.FilterConfig
buildFilterConfig()
NuxeoCorsFilterDescriptor
clone()
com.thetransactioncompany.cors.CORSFilter
getFilter()
void
merge(NuxeoCorsFilterDescriptor o)
void
setPattern(String patternString)
-
-
-
Field Detail
-
name
protected String name
-
enabled
protected Boolean enabled
-
allowGenericHttpRequests
protected Boolean allowGenericHttpRequests
-
allowOrigin
protected String allowOrigin
-
allowSubdomains
protected boolean allowSubdomains
-
supportedMethods
protected String supportedMethods
-
supportedHeaders
protected String supportedHeaders
-
exposedHeaders
protected String exposedHeaders
-
supportsCredentials
protected Boolean supportsCredentials
-
maxAge
protected int maxAge
-
pattern
protected Pattern pattern
-
filter
protected volatile com.thetransactioncompany.cors.CORSFilter filter
-
-
Method Detail
-
setPattern
public void setPattern(String patternString)
-
getFilter
public com.thetransactioncompany.cors.CORSFilter getFilter()
-
buildFilterConfig
protected javax.servlet.FilterConfig buildFilterConfig()
-
clone
public NuxeoCorsFilterDescriptor clone() throws CloneNotSupportedException
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
merge
public void merge(NuxeoCorsFilterDescriptor o)
-
buildDictionary
protected Dictionary<String,String> buildDictionary()
-
-