Class APICorsConfigurationDTO
java.lang.Object
org.wso2.am.integration.clients.publisher.api.v1.dto.APICorsConfigurationDTO
CORS configuration for the API
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessControlAllowCredentials(Boolean accessControlAllowCredentials) accessControlAllowHeaders(List<String> accessControlAllowHeaders) accessControlAllowMethods(List<String> accessControlAllowMethods) accessControlAllowOrigins(List<String> accessControlAllowOrigins) corsConfigurationEnabled(Boolean corsConfigurationEnabled) booleanGet accessControlAllowHeadersGet accessControlAllowMethodsGet accessControlAllowOriginsinthashCode()Get accessControlAllowCredentialsGet corsConfigurationEnabledvoidsetAccessControlAllowCredentials(Boolean accessControlAllowCredentials) voidsetAccessControlAllowHeaders(List<String> accessControlAllowHeaders) voidsetAccessControlAllowMethods(List<String> accessControlAllowMethods) voidsetAccessControlAllowOrigins(List<String> accessControlAllowOrigins) voidsetCorsConfigurationEnabled(Boolean corsConfigurationEnabled) toString()
-
Field Details
-
SERIALIZED_NAME_CORS_CONFIGURATION_ENABLED
- See Also:
-
SERIALIZED_NAME_ACCESS_CONTROL_ALLOW_ORIGINS
- See Also:
-
SERIALIZED_NAME_ACCESS_CONTROL_ALLOW_CREDENTIALS
- See Also:
-
SERIALIZED_NAME_ACCESS_CONTROL_ALLOW_HEADERS
- See Also:
-
SERIALIZED_NAME_ACCESS_CONTROL_ALLOW_METHODS
- See Also:
-
-
Constructor Details
-
APICorsConfigurationDTO
public APICorsConfigurationDTO()
-
-
Method Details
-
corsConfigurationEnabled
-
isCorsConfigurationEnabled
Get corsConfigurationEnabled- Returns:
- corsConfigurationEnabled
-
setCorsConfigurationEnabled
-
accessControlAllowOrigins
-
getAccessControlAllowOrigins
Get accessControlAllowOrigins- Returns:
- accessControlAllowOrigins
-
setAccessControlAllowOrigins
-
accessControlAllowCredentials
-
isAccessControlAllowCredentials
Get accessControlAllowCredentials- Returns:
- accessControlAllowCredentials
-
setAccessControlAllowCredentials
-
accessControlAllowHeaders
-
getAccessControlAllowHeaders
Get accessControlAllowHeaders- Returns:
- accessControlAllowHeaders
-
setAccessControlAllowHeaders
-
accessControlAllowMethods
-
getAccessControlAllowMethods
Get accessControlAllowMethods- Returns:
- accessControlAllowMethods
-
setAccessControlAllowMethods
-
equals
-
hashCode
public int hashCode() -
toString
-