private static void addNoCacheHeaders ( final Map < String , String > map ) { map . put ( HttpHeader . PRAGMA . toString ( ) , "no-cache" ) ; map . put ( HttpHeader . CACHE_CONTROL . toString ( ) , "no-cache" ) ; map . put ( HttpHeader . EXPIRES . toString ( ) , "0" ) ; }
Populates the map with headers used to disable cache .