public void writeTo(HttpServletResponse response) {
		long time = System.currentTimeMillis();
		long processTime = time - contextTsCurrent.get();
		long processTimeTotal = contextMsProcess.get() + processTime;
		long networkTimeTotal = contextMsNetwork.get();
		
		StringBuilder cookiesDump = new StringBuilder();
		for (Entry<String, Cookie> entry : responseCookies.get().entrySet()) {
			javax.servlet.http.Cookie c = buildServletCookie(entry.getKey(), entry.getValue());
			response.addCookie(c);
			cookiesDump.append(c.toString()).append(";");
		}
		
		if (verbose) log.info("<<< Time total " + String.valueOf(time - contextTsStart.get()) + " (+" + processTime + "p " + processTimeTotal + "p " + networkTimeTotal + "n)" + " [" + contextUrl.get() + "]" + ". Set-Cookie to client: " + cookiesDump.toString());
	}
public void writeTo ( HttpServletResponse response ) { long time = System . currentTimeMillis ( ) ; long processTime = time - contextTsCurrent . get ( ) ; long processTimeTotal = contextMsProcess . get ( ) + processTime ; long networkTimeTotal = contextMsNetwork . get ( ) ; StringBuilder cookiesDump = new StringBuilder ( ) ; for ( Entry < String , Cookie > entry : responseCookies . get ( ) . entrySet ( ) ) { javax . servlet . http . Cookie c = buildServletCookie ( entry . getKey ( ) , entry . getValue ( ) ) ; response . addCookie ( c ) ; cookiesDump . append ( c . toString ( ) ) . append ( ";" ) ; } if ( verbose ) log . info ( "<<< Time total " + String . valueOf ( time - contextTsStart . get ( ) ) + " (+" + processTime + "p " + processTimeTotal + "p " + networkTimeTotal + "n)" + " [" + contextUrl . get ( ) + "]" + ". Set-Cookie to client: " + cookiesDump . toString ( ) ) ; }
/* response - thread local set-cookies -> client