Spring Framework LinkedCaseInsensitiveMap - 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 LinkedCaseInsensitiveMap class.

This code example shows how to use the following methods:putAll
	 */ 
	public WebSocketExtension(String name, Map<String, String> parameters) {
		Assert.hasLength(name, "extension name must not be empty");
		this.name = name;
		if (!CollectionUtils.isEmpty(parameters)) {
			Map<String, String> m = new LinkedCaseInsensitiveMap<String>(parameters.size(), Locale.ENGLISH);
			m.putAll(parameters);
			this.parameters = Collections.unmodifiableMap(m);
		} 
		else { 
			this.parameters = Collections.emptyMap();
		} 
	} 
 
	/** 
	 * @return the name of the extension 
	 */ 
	public String getName() {
		return this.name;
	} 
6
CodeRank
Contextual code suggestions in your IDE  Get Codota for Java
This code example shows how to use the following methods:
	 * capacity for the Map 
	 * @return the new Map instance 
	 * @see org.springframework.util.LinkedCaseInsensitiveMap 
	 */ 
	protected Map<String, Object> createColumnMap(int columnCount) { 
		return new LinkedCaseInsensitiveMap<Object>(columnCount); 
	} 
 
	/** 
	 * Determine the key to use for the given column in the column Map. 
	 * @param columnName the column name as returned by the ResultSet 
	 * @return the column key to use 
	 * @see java.sql.ResultSetMetaData#getColumnName 
	 */ 
	protected String getColumnKey(String columnName) { 
		return columnName; 
	} 
 
	/** 
	 * Retrieve a JDBC object value for the specified column. 
6
CodeRank
Contextual code suggestions in your IDE  Get Codota for Java
This code example shows how to use the following methods:
 
	private String authType; 
 
	private Cookie[] cookies; 
 
	private final Map<String, HeaderValueHolder> headers = new LinkedCaseInsensitiveMap<HeaderValueHolder>(); 
 
	private String method; 
 
	private String pathInfo; 
 
	private String contextPath = ""; 
 
	private String queryString; 
 
	private String remoteUser; 
 
	private final Set<String> userRoles = new HashSet<String>(); 
 
	private Principal userPrincipal; 
1
CodeRank
Contextual code suggestions in your IDE  Get Codota for Java