KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > web > loadbalancer > util > Constants


1 /*
2  * JBoss, the OpenSource WebOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.web.loadbalancer.util;
8
9 /**
10  *
11  * @author Thomas Peuss <jboss@peuss.de>
12  * @version $Revision: 1.7 $
13  */

14 public class Constants
15 {
16   public static final int HTTP_METHOD_GET=0;
17   public static final int HTTP_METHOD_POST=1;
18   public static final int HTTP_METHOD_DELETE=2;
19   public static final int HTTP_METHOD_HEAD=3;
20   public static final int HTTP_METHOD_OPTIONS=4;
21   public static final int HTTP_METHOD_PUT=5;
22
23   public static final int STATE_NODE_UP=0;
24   public static final int STATE_NODE_DOWN=1;
25   public static final int STATE_NODE_FORCED_DOWN=2;
26
27   public static final String JavaDoc[] STATE_STRINGS={"UP", "DOWN", "FORCED DOWN"};
28 }
Popular Tags