org.springframework.web.cors.CorsProcessor Java Examples

The following examples show how to use org.springframework.web.cors.CorsProcessor. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AbstractHandlerMapping.java    From spring-analysis-note with MIT License 4 votes vote down vote up
/**
 * Return the configured {@link CorsProcessor}.
 */
public CorsProcessor getCorsProcessor() {
	return this.corsProcessor;
}
 
Example #2
Source File: AbstractHandlerMapping.java    From java-technology-stack with MIT License 4 votes vote down vote up
/**
 * Return the configured {@link CorsProcessor}.
 */
public CorsProcessor getCorsProcessor() {
	return this.corsProcessor;
}
 
Example #3
Source File: AbstractHandlerMapping.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Return the configured {@link CorsProcessor}.
 */
public CorsProcessor getCorsProcessor() {
	return this.corsProcessor;
}
 
Example #4
Source File: AbstractHandlerMapping.java    From spring4-understanding with Apache License 2.0 4 votes vote down vote up
/**
 * Return the configured {@link CorsProcessor}.
 */
public CorsProcessor getCorsProcessor() {
	return this.corsProcessor;
}
 
Example #5
Source File: AbstractHandlerMapping.java    From spring-analysis-note with MIT License 2 votes vote down vote up
/**
 * Configure a custom {@link CorsProcessor} to use to apply the matched
 * {@link CorsConfiguration} for a request.
 * <p>By default {@link DefaultCorsProcessor} is used.
 * @since 4.2
 */
public void setCorsProcessor(CorsProcessor corsProcessor) {
	Assert.notNull(corsProcessor, "CorsProcessor must not be null");
	this.corsProcessor = corsProcessor;
}
 
Example #6
Source File: CorsFilter.java    From spring-analysis-note with MIT License 2 votes vote down vote up
/**
 * Configure a custom {@link CorsProcessor} to use to apply the matched
 * {@link CorsConfiguration} for a request.
 * <p>By default {@link DefaultCorsProcessor} is used.
 */
public void setCorsProcessor(CorsProcessor processor) {
	Assert.notNull(processor, "CorsProcessor must not be null");
	this.processor = processor;
}
 
Example #7
Source File: AbstractHandlerMapping.java    From java-technology-stack with MIT License 2 votes vote down vote up
/**
 * Configure a custom {@link CorsProcessor} to use to apply the matched
 * {@link CorsConfiguration} for a request.
 * <p>By default {@link DefaultCorsProcessor} is used.
 * @since 4.2
 */
public void setCorsProcessor(CorsProcessor corsProcessor) {
	Assert.notNull(corsProcessor, "CorsProcessor must not be null");
	this.corsProcessor = corsProcessor;
}
 
Example #8
Source File: CorsFilter.java    From java-technology-stack with MIT License 2 votes vote down vote up
/**
 * Configure a custom {@link CorsProcessor} to use to apply the matched
 * {@link CorsConfiguration} for a request.
 * <p>By default {@link DefaultCorsProcessor} is used.
 */
public void setCorsProcessor(CorsProcessor processor) {
	Assert.notNull(processor, "CorsProcessor must not be null");
	this.processor = processor;
}
 
Example #9
Source File: SwitchEnableCorsFilter.java    From oneplatform with Apache License 2.0 2 votes vote down vote up
/**
 * Configure a custom {@link CorsProcessor} to use to apply the matched
 * {@link CorsConfiguration} for a request.
 * <p>By default {@link DefaultCorsProcessor} is used.
 */
public void setCorsProcessor(CorsProcessor processor) {
	Assert.notNull(processor, "CorsProcessor must not be null");
	this.processor = processor;
}
 
Example #10
Source File: AbstractHandlerMapping.java    From lams with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Configure a custom {@link CorsProcessor} to use to apply the matched
 * {@link CorsConfiguration} for a request.
 * <p>By default {@link DefaultCorsProcessor} is used.
 * @since 4.2
 */
public void setCorsProcessor(CorsProcessor corsProcessor) {
	Assert.notNull(corsProcessor, "CorsProcessor must not be null");
	this.corsProcessor = corsProcessor;
}
 
Example #11
Source File: CorsFilter.java    From lams with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Configure a custom {@link CorsProcessor} to use to apply the matched
 * {@link CorsConfiguration} for a request.
 * <p>By default {@link DefaultCorsProcessor} is used.
 */
public void setCorsProcessor(CorsProcessor processor) {
	Assert.notNull(processor, "CorsProcessor must not be null");
	this.processor = processor;
}
 
Example #12
Source File: AbstractHandlerMapping.java    From spring4-understanding with Apache License 2.0 2 votes vote down vote up
/**
 * Configure a custom {@link CorsProcessor} to use to apply the matched
 * {@link CorsConfiguration} for a request.
 * <p>By default {@link DefaultCorsProcessor} is used.
 * @since 4.2
 */
public void setCorsProcessor(CorsProcessor corsProcessor) {
	Assert.notNull(corsProcessor, "CorsProcessor must not be null");
	this.corsProcessor = corsProcessor;
}
 
Example #13
Source File: CorsFilter.java    From spring4-understanding with Apache License 2.0 2 votes vote down vote up
/**
 * Configure a custom {@link CorsProcessor} to use to apply the matched
 * {@link CorsConfiguration} for a request.
 * <p>By default {@link DefaultCorsProcessor} is used.
 */
public void setCorsProcessor(CorsProcessor processor) {
	Assert.notNull(processor, "CorsProcessor must not be null");
	this.processor = processor;
}