src/main/java/js/servlet/Cookies.java
public void remove(String name) {
		Params.notNullOrEmpty(name, "Cookie name");
		if (cookies == null) {
			return;
		}
		for (Cookie cookie : cookies) {
			if (name.equals(cookie.getName())) {
				cookie.setMaxAge(0);
				cookie.setValue("");
				cookie.setPath("/");
				httpResponse.addCookie(cookie);
				break;
			}
		}
	}
public void remove(String name) {
		Params.notNullOrEmpty(name, "Cookie name");
		if (cookies == null) {
			return;
		}
		for (Cookie cookie : cookies) {
			if (name.equals(cookie.getName())) {
				cookie.setMaxAge(0);
				cookie.setValue("");
				cookie.setPath("/");
				httpResponse.addCookie(cookie);
				break;
			}
		}
	}
public void remove ( String name ) { Params . notNullOrEmpty ( name , "Cookie name" ) ; if ( cookies == null ) { return ; } for ( Cookie cookie : cookies ) { if ( name . equals ( cookie . getName ( ) ) ) { cookie . setMaxAge ( 0 ) ; cookie . setValue ( "" ) ; cookie . setPath ( "/" ) ; httpResponse . addCookie ( cookie ) ; break ; } } }
Remove cookie from HTTP response. If named cookie does not exist this method does nothing.

@param name the name of the cookie to be removed, not null or empty.
@throws IllegalArgumentException if <code>name</code> argument is null or empty.
Remove cookie from HTTP response . If named cookie does not exist this method does nothing .