Uses of Class
com.azure.search.documents.indexes.models.CorsOptions
Packages that use CorsOptions
Package
Description
Package containing the data models for SearchServiceClient.
-
Uses of CorsOptions in com.azure.search.documents.indexes.models
Methods in com.azure.search.documents.indexes.models that return CorsOptionsModifier and TypeMethodDescriptionstatic CorsOptionsCorsOptions.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of CorsOptions from the JsonReader.SearchIndex.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.