1 29 30 package com.caucho.jsp; 31 32 35 public class JspPageConfig { 36 39 private boolean _isThreadSafe = true; 40 private boolean _hasTrueSession = false; 41 private boolean _hasFalseSession = false; 42 private boolean _hasSession = true; 43 44 private boolean _useEndTagHack = true; 45 private boolean _ideHack = false; 46 47 private int _bufferSize = 8 * 1024; 48 private boolean _autoFlush = true; 49 private boolean _isErrorPage = false; 50 private String _errorPage = null; 51 private String _servletInfo = null; 52 private String _contentType = null; 53 private String _charEncoding = null; 54 private String _language = null; 55 private String _session = null; 56 private String _buffer = null; 57 58 private boolean _staticEncoding; 59 60 private boolean _isXml; 61 62 private boolean _alwaysModified; 64 65 private boolean _isELEnabled; 66 private boolean _fastJstl = true; 67 68 71 public boolean isThreadSafe() 72 { 73 return _isThreadSafe; 74 } 75 76 79 public void setThreadSafe(boolean isThreadSafe) 80 { 81 _isThreadSafe = isThreadSafe; 82 } 83 84 87 public boolean isStaticEncoding() 88 { 89 return _staticEncoding; 90 } 91 92 95 public void setStaticEncoding(boolean allowStaticEncoding) 96 { 97 _staticEncoding = allowStaticEncoding; 98 } 99 } 100 | Popular Tags |