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 booleanDEFAULT_ALLOW_CREDENTIALSstatic StringDEFAULT_ALLOWED_HTTP_HEADERSstatic StringDEFAULT_EXPOSED_HEADERSstatic StringDEFAULT_HTTP_METHODSstatic StringDEFAULT_ORIGINSstatic StringDEFAULT_PREFLIGHT_MAXAGEstatic StringPREFIX
-
Constructor Summary
Constructors Constructor Description CamundaBpmRunCorsProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetAllowCredentials()StringgetAllowedHeaders()StringgetAllowedOrigins()StringgetExposedHeaders()StringgetPreflightMaxAge()booleanisEnabled()voidsetAllowCredentials(boolean allowCredentials)voidsetAllowedHeaders(String allowedHeaders)voidsetAllowedOrigins(String allowedOrigins)voidsetEnabled(boolean enabled)voidsetExposedHeaders(String exposedHeaders)voidsetPreflightMaxAge(String preflightMaxAge)StringtoString()
-
-
-
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)
-
-