src/main/java/js/servlet/Cookies.java
public String get(String name) {
		Params.notNullOrEmpty(name, "Cookie name");
		if (cookies == null) {
			return null;
		}
		for (Cookie cookie : cookies) {
			if (name.equals(cookie.getName())) {
				return cookie.getValue();
			}
		}
		return null;
	}
public String get(String name) {
		Params.notNullOrEmpty(name, "Cookie name");
		if (cookies == null) {
			return null;
		}
		for (Cookie cookie : cookies) {
			if (name.equals(cookie.getName())) {
				return cookie.getValue();
			}
		}
		return null;
	}
public String get ( String name ) { Params . notNullOrEmpty ( name , "Cookie name" ) ; if ( cookies == null ) { return null ; } for ( Cookie cookie : cookies ) { if ( name . equals ( cookie . getName ( ) ) ) { return cookie . getValue ( ) ; } } return null ; }
Get value of the named cookie or null if cookie does not exist.

@param name cookie name, not null or empty.
@return cookie cookie value or null if there is no cookie with requested name.
@throws IllegalArgumentException if <code>name</code> argument is null or empty.
Get value of the named cookie or null if cookie does not exist .