costin 02/04/08 15:46:58
Modified: coyote/src/java/org/apache/coyote ActionCode.java
Log:
Add the 2 callbacks that are typically needed - one to compute the remote host
and the other for ssl attributes.
Both are expensive and should be done on-demand
Revision Changes Path
1.5 +6 -2
jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/ActionCode.java
Index: ActionCode.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/ActionCode.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ActionCode.java 5 Apr 2002 05:36:32 -0000 1.4
+++ ActionCode.java 8 Apr 2002 22:46:58 -0000 1.5
@@ -90,9 +90,13 @@
public static final ActionCode ACTION_STOP = new ActionCode();
- /** Compute request attribute
+ /** Callback for lazy evaluation - extract the remote host address
*/
- public static final ActionCode ACTION_REQ_ATTRIBUTE = new ActionCode();
+ public static final ActionCode ACTION_REQ_HOST_ATTRIBUTE = new ActionCode();
+
+ /** Callback for lazy evaluation - extract the SSL-related attributes
+ */
+ public static final ActionCode ACTION_REQ_SSL_ATTRIBUTE = new ActionCode();
// ----------------------------------------------------------- Constructors
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>