1 2 3 27 package org.apache.coyote.tomcat5; 28 29 34 public final class Constants { 35 36 37 39 40 public static final String Package = "org.apache.coyote.tomcat5"; 41 public static final int DEFAULT_CONNECTION_LINGER = -1; 42 public static final int DEFAULT_CONNECTION_TIMEOUT = 60000; 43 public static final int DEFAULT_CONNECTION_UPLOAD_TIMEOUT = 300000; 44 public static final int DEFAULT_SERVER_SOCKET_TIMEOUT = 0; 45 46 public static final int PROCESSOR_IDLE = 0; 47 public static final int PROCESSOR_ACTIVE = 1; 48 49 52 public static final String AUTHORIZATION_HEADER = "authorization"; 53 54 57 public static final String SSL_CERTIFICATE_ATTR = "org.apache.coyote.request.X509Certificate"; 58 59 62 public static final boolean SECURITY = 63 (System.getSecurityManager() != null); 64 65 66 public static final int DEFAULT_MAX_DISPATCH_DEPTH = 20; 68 69 70 74 public final static String DEFAULT_RESPONSE_TYPE = 75 "text/plain; charset=iso-8859-1"; 76 77 78 81 public final static String FORCED_RESPONSE_TYPE = 82 "text/plain; charset=iso-8859-1"; 83 85 86 public final static String PROXY_JROUTE = "proxy-jroute"; 88 90 public final static String JROUTE_COOKIE = "JROUTE"; 92 94 } 95 | Popular Tags |