Package org.camunda.bpm.run.property
Class CamundaBpmRunCorsProperty
- java.lang.Object
-
- org.camunda.bpm.run.property.CamundaBpmRunCorsProperty
-
public class CamundaBpmRunCorsProperty extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
DEFAULT_ALLOW_CREDENTIALS
static String
DEFAULT_ALLOWED_HTTP_HEADERS
static String
DEFAULT_EXPOSED_HEADERS
static String
DEFAULT_HTTP_METHODS
static String
DEFAULT_ORIGINS
static String
DEFAULT_PREFLIGHT_MAXAGE
static String
PREFIX
-
Constructor Summary
Constructors Constructor Description CamundaBpmRunCorsProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getAllowCredentials()
String
getAllowedHeaders()
String
getAllowedOrigins()
String
getExposedHeaders()
String
getPreflightMaxAge()
boolean
isEnabled()
void
setAllowCredentials(boolean allowCredentials)
void
setAllowedHeaders(String allowedHeaders)
void
setAllowedOrigins(String allowedOrigins)
void
setEnabled(boolean enabled)
void
setExposedHeaders(String exposedHeaders)
void
setPreflightMaxAge(String preflightMaxAge)
String
toString()
-
-
-
Field Detail
-
PREFIX
public static final String PREFIX
- See Also:
- Constant Field Values
-
DEFAULT_ORIGINS
public static final String DEFAULT_ORIGINS
- See Also:
- Constant Field Values
-
DEFAULT_HTTP_METHODS
public static final String DEFAULT_HTTP_METHODS
- See Also:
- Constant Field Values
-
DEFAULT_PREFLIGHT_MAXAGE
public static final String DEFAULT_PREFLIGHT_MAXAGE
- See Also:
- Constant Field Values
-
DEFAULT_ALLOWED_HTTP_HEADERS
public static final String DEFAULT_ALLOWED_HTTP_HEADERS
- See Also:
- Constant Field Values
-
DEFAULT_EXPOSED_HEADERS
public static final String DEFAULT_EXPOSED_HEADERS
- See Also:
- Constant Field Values
-
DEFAULT_ALLOW_CREDENTIALS
public static final boolean DEFAULT_ALLOW_CREDENTIALS
- See Also:
- Constant Field Values
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getAllowedOrigins
public String getAllowedOrigins()
-
setAllowedOrigins
public void setAllowedOrigins(String allowedOrigins)
-
getAllowCredentials
public boolean getAllowCredentials()
-
setAllowCredentials
public void setAllowCredentials(boolean allowCredentials)
-
getAllowedHeaders
public String getAllowedHeaders()
-
setAllowedHeaders
public void setAllowedHeaders(String allowedHeaders)
-
getExposedHeaders
public String getExposedHeaders()
-
setExposedHeaders
public void setExposedHeaders(String exposedHeaders)
-
getPreflightMaxAge
public String getPreflightMaxAge()
-
setPreflightMaxAge
public void setPreflightMaxAge(String preflightMaxAge)
-
-