com.cassinidivision.oce.rendering
Interface PageExpiringSession

All Known Implementing Classes:
OCESession

public interface PageExpiringSession

Interface intended to be implemented by WOSession subclasses implementing static page expiry mechanisms.


Method Summary
 void doNotCachePage()
          Report in responses that the page being generated should not be cached (written to disk, or similar).
 void reducePageExpiryDurationMinutesTo(int minutes)
          Reduce the current page expiry period (that will be reported in the response) by the number of minutes requested.
 

Method Detail

reducePageExpiryDurationMinutesTo

public void reducePageExpiryDurationMinutesTo(int minutes)
Reduce the current page expiry period (that will be reported in the response) by the number of minutes requested.

Parameters:
minutes - Integer stating the number of minutes.

doNotCachePage

public void doNotCachePage()
Report in responses that the page being generated should not be cached (written to disk, or similar).