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