public class NuxeoCorsFilterDescriptor extends Object implements Serializable, Cloneable
Modifier and Type | Field and Description |
---|---|
protected Boolean |
allowGenericHttpRequests |
protected String |
allowOrigin |
protected boolean |
allowSubdomains |
protected Boolean |
enabled |
protected String |
exposedHeaders |
protected int |
maxAge |
protected String |
name |
protected String |
pattern |
protected String |
supportedHeaders |
protected String |
supportedMethods |
protected Boolean |
supportsCredentials |
Constructor and Description |
---|
NuxeoCorsFilterDescriptor() |
Modifier and Type | Method and Description |
---|---|
protected Dictionary<String,String> |
buildDictionary() |
javax.servlet.FilterConfig |
buildFilterConfig() |
NuxeoCorsFilterDescriptor |
clone() |
boolean |
isMatching(javax.servlet.http.HttpServletRequest request) |
void |
merge(NuxeoCorsFilterDescriptor o) |
void |
setPattern(String pattern) |
protected Boolean allowGenericHttpRequests
protected String allowOrigin
protected boolean allowSubdomains
protected String supportedMethods
protected String supportedHeaders
protected String exposedHeaders
protected Boolean supportsCredentials
protected int maxAge
public NuxeoCorsFilterDescriptor()
public void setPattern(String pattern)
public javax.servlet.FilterConfig buildFilterConfig()
public boolean isMatching(javax.servlet.http.HttpServletRequest request)
public NuxeoCorsFilterDescriptor clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public void merge(NuxeoCorsFilterDescriptor o)
protected Dictionary<String,String> buildDictionary()
Copyright © 2016 Nuxeo SA. All rights reserved.