Uses of Class
com.azure.resourcemanager.appplatform.models.GatewayCorsProperties
Packages that use GatewayCorsProperties
Package
Description
Package containing the data models for AppPlatformManagementClient.
-
Uses of GatewayCorsProperties in com.azure.resourcemanager.appplatform.models
Methods in com.azure.resourcemanager.appplatform.models that return GatewayCorsPropertiesModifier and TypeMethodDescriptionGatewayProperties.corsProperties()Get the corsProperties property: Cross-Origin Resource Sharing property.static GatewayCorsPropertiesGatewayCorsProperties.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of GatewayCorsProperties from the JsonReader.GatewayCorsProperties.withAllowCredentials(Boolean allowCredentials) Set the allowCredentials property: Whether user credentials are supported on cross-site requests.GatewayCorsProperties.withAllowedHeaders(List<String> allowedHeaders) Set the allowedHeaders property: Allowed headers in cross-site requests.GatewayCorsProperties.withAllowedMethods(List<String> allowedMethods) Set the allowedMethods property: Allowed HTTP methods on cross-site requests.GatewayCorsProperties.withAllowedOriginPatterns(List<String> allowedOriginPatterns) Set the allowedOriginPatterns property: Allowed origin patterns to make cross-site requests.GatewayCorsProperties.withAllowedOrigins(List<String> allowedOrigins) Set the allowedOrigins property: Allowed origins to make cross-site requests.GatewayCorsProperties.withExposedHeaders(List<String> exposedHeaders) Set the exposedHeaders property: HTTP response headers to expose for cross-site requests.GatewayCorsProperties.withMaxAge(Integer maxAge) Set the maxAge property: How long, in seconds, the response from a pre-flight request can be cached by clients.Methods in com.azure.resourcemanager.appplatform.models with parameters of type GatewayCorsPropertiesModifier and TypeMethodDescriptionGatewayProperties.withCorsProperties(GatewayCorsProperties corsProperties) Set the corsProperties property: Cross-Origin Resource Sharing property.