code: @Override
  	public String resolveVariant(HttpServletRequest request) {
  
  		Cookie[] cookies = request.getCookies();
  		String skin = defaultSkin;
  		if (cookies != null) {
  			int nbCookies = cookies.length;
  			for (int i = 0; i < nbCookies; i++) {
  				Cookie cookie = cookies[i];
  				if (cookie.getName().equals(skinCookieName)) {
  					skin = cookie.getValue();
  				}
  			}
  		}
  		LOGGER.debug("Resolved skin " + skin);
  
  		return skin;
  	}
docs: /*
  (non-Javadoc)
  
  @see
  net.jawr.web.resource.bundle.variant.VariantResolver#resolveVariant(javax
  .servlet.http.HttpServletRequest)