RepositoryRestConfigurer.configureRepositoryRestConfiguration(RepositoryRestConfiguration, CorsRegistry)
instead to get access to the registry.@Deprecated public class RepositoryCorsRegistry extends CorsRegistry
CorsRegistry
implementation exposing getCorsConfigurations()
. Assists with
the registration of CorsConfiguration
mapped to a path pattern.Constructor and Description |
---|
RepositoryCorsRegistry()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Map<String,CorsConfiguration> |
getCorsConfigurations()
Deprecated.
|
addMapping
public Map<String,CorsConfiguration> getCorsConfigurations()
getCorsConfigurations
in class CorsRegistry
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.