question: public Cookie ( final String domain , final String name , final String value , final String path , final int maxAge , final boolean secure ) { this ( domain , name , value , path , null , secure ) ; if ( maxAge < - 1 ) { throw new IllegalArgumentException ( "Invalid max age:  " + Integer . toString ( maxAge ) ) ; } if ( maxAge >= 0 ) { setExpiryDate ( new Date ( System . currentTimeMillis ( ) + maxAge * 1000L ) ) ; } }
target:  Creates a cookie with the given name, value, domain attribute, path attribute, maximum age attribute, and secure attribute