List of usage examples for org.springframework.web.cors CorsConfigurationSource interface-usage
From source file org.ameba.http.PermitAllCorsConfigurationSource.java
/**
* A PermitAllCorsConfigurationSource pre-configures and returns an {@link CorsConfiguration CorsConfiguration} instance to
* allow all types of requests from any arbitrary origin domain.
*
* <b>This class may not be used in production systems and is foreseen only to be configured in development, test or CI
* environments.</b>
From source file org.springframework.web.socket.sockjs.support.AbstractSockJsService.java
/**
* An abstract base class for {@link SockJsService} implementations that provides SockJS
* path resolution and handling of static SockJS requests (e.g. "/info", "/iframe.html",
* etc). Sub-classes must handle session URLs (i.e. transport-specific requests).
*
* By default, only same origin requests are allowed. Use {@link #setAllowedOrigins}
From source file org.springframework.web.servlet.resource.ResourceHttpRequestHandler.java
/**
* {@code HttpRequestHandler} that serves static resources in an optimized way
* according to the guidelines of Page Speed, YSlow, etc.
*
* <p>The {@linkplain #setLocations "locations"} property takes a list of Spring
* {@link Resource} locations from which static resources are allowed to