Uses of Class
com.azure.search.documents.indexes.models.CorsOptions
Packages that use CorsOptions
Package
Description
Package containing classes for SearchServiceClient.
-
Uses of CorsOptions in com.azure.search.documents.indexes.models
Methods in com.azure.search.documents.indexes.models that return CorsOptionsModifier and TypeMethodDescriptionSearchIndex.getCorsOptions()
Get the corsOptions property: Options to control Cross-Origin Resource Sharing (CORS) for the index.CorsOptions.setMaxAgeInSeconds
(Long maxAgeInSeconds) Set the maxAgeInSeconds property: The duration for which browsers should cache CORS preflight responses.Methods in com.azure.search.documents.indexes.models with parameters of type CorsOptionsModifier and TypeMethodDescriptionSearchIndex.setCorsOptions
(CorsOptions corsOptions) Set the corsOptions property: Options to control Cross-Origin Resource Sharing (CORS) for the index.