Code example for AbstractController

Methods: setCacheSeconds, setUseCacheControlHeader, setUseExpiresHeader

0
{ 
    private DebugSitePathResolver sitePathResolver; 
 
    protected SecurityService securityService; 
 
    public SiteDebugController() 
    { 
        setCacheSeconds( 0 ); 
        setUseCacheControlHeader( false ); 
        setUseExpiresHeader( false ); 
    } 
 
    @Autowired 
    public void setSitePathResolver( DebugSitePathResolver value ) 
    { 
        this.sitePathResolver = value; 
    } 
 
    @Autowired 
    public void setSecurityService( SecurityService value )