Spring Framework StandardServletEnvironment - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Spring Framework StandardServletEnvironment class.

This code example shows how to use the following methods:
	/** 
	 * Create and return a new {@link StandardServletEnvironment}. Subclasses may override 
	 * in order to configure the environment or specialize the environment type returned. 
	 */ 
	protected ConfigurableEnvironment createEnvironment() { 
		return new StandardServletEnvironment(); 
	} 
 
 
	/** 
	 * PropertyValues implementation created from ServletConfig init parameters. 
	 */ 
	private static class ServletConfigPropertyValues extends MutablePropertyValues { 
 
		/** 
		 * Create new ServletConfigPropertyValues. 
		 * @param config ServletConfig we'll use to take PropertyValues from 
		 * @param requiredProperties set of property names we need, where 
		 * we can't accept default values 
		 * @throws ServletException if any required properties are missing 
5
CodeRank
Contextual code suggestions in your IDE  Get Codota for Java
This code example shows how to use the following methods:
 
	private FilterConfig filterConfig; 
 
	private String beanName; 
 
	private Environment environment = new StandardServletEnvironment(); 
 
	private ServletContext servletContext; 
 
 
	/** 
	 * Stores the bean name as defined in the Spring bean factory. 
	 * <p>Only relevant in case of initialization as bean, to have a name as 
	 * fallback to the filter name usually provided by a FilterConfig instance. 
	 * @see org.springframework.beans.factory.BeanNameAware 
	 * @see #getFilterName() 
	 */ 
	@Override 
	public final void setBeanName(String beanName) { 
		this.beanName = beanName; 
5
CodeRank
Contextual code suggestions in your IDE  Get Codota for Java