01: /*
02: * Copyright 1999-2004 The Apache Software Foundation
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16:
17: package org.apache.coyote.tomcat4;
18:
19: /**
20: * Constants.
21: *
22: * @author Remy Maucherat
23: */
24: public final class Constants {
25:
26: // -------------------------------------------------------------- Constants
27:
28: public static final String Package = "org.apache.coyote.tomcat4";
29: public static final int DEFAULT_CONNECTION_LINGER = -1;
30: public static final int DEFAULT_CONNECTION_TIMEOUT = 60000;
31: public static final int DEFAULT_CONNECTION_UPLOAD_TIMEOUT = 300000;
32: public static final int DEFAULT_SERVER_SOCKET_TIMEOUT = 0;
33:
34: public static final int PROCESSOR_IDLE = 0;
35: public static final int PROCESSOR_ACTIVE = 1;
36:
37: /**
38: * Default header names.
39: */
40: public static final String AUTHORIZATION_HEADER = "authorization";
41:
42: /**
43: * SSL Certificate Request Attributite.
44: */
45: public static final String SSL_CERTIFICATE_ATTR = "org.apache.coyote.request.X509Certificate";
46:
47: }
|