Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/webobjects/woextensions/WOPageRestorationError.java


1   /*
2    * WOPageRestorationError.java
3    * © Copyright 2001 Apple Computer, Inc. All rights reserved.
4    * This a modified version.
5    * Original license: http://www.opensource.apple.com/apsl/
6    */
7   
8   package com.webobjects.woextensions;
9   
10  import com.webobjects.appserver.*;
11  
12  public class WOPageRestorationError extends WOComponent {
13      public WOPageRestorationError(WOContext aContext)  {
14          super(aContext);
15      }
16  
17      public boolean isEventLoggingEnabled() {
18          return false;
19      }
20  
21      public void appendToResponse(WOResponse aResponse, WOContext aContext)  {
22          super.appendToResponse(aResponse, aContext);
23          aResponse.disableClientCaching();
24      }
25  }