1 17 18 package org.apache.coyote; 19 20 21 32 public final class ActionCode { 33 34 35 37 38 public static final ActionCode ACTION_ACK = new ActionCode(1); 39 40 41 public static final ActionCode ACTION_CLOSE = new ActionCode(2); 42 43 44 public static final ActionCode ACTION_COMMIT = new ActionCode(3); 45 46 47 53 public static final ActionCode ACTION_CLIENT_FLUSH = new ActionCode(4); 54 55 56 public static final ActionCode ACTION_CUSTOM = new ActionCode(5); 57 58 59 public static final ActionCode ACTION_RESET = new ActionCode(6); 60 61 62 public static final ActionCode ACTION_START = new ActionCode(7); 63 64 65 public static final ActionCode ACTION_STOP = new ActionCode(8); 66 67 68 public static final ActionCode ACTION_WEBAPP = new ActionCode(9); 69 70 74 public static final ActionCode ACTION_POST_REQUEST = new ActionCode(10); 75 76 79 public static final ActionCode ACTION_REQ_HOST_ATTRIBUTE = 80 new ActionCode(11); 81 82 83 86 public static final ActionCode ACTION_REQ_HOST_ADDR_ATTRIBUTE = new ActionCode(12); 87 88 91 public static final ActionCode ACTION_REQ_SSL_ATTRIBUTE = new ActionCode(13); 92 93 94 97 public static final ActionCode ACTION_NEW_REQUEST = new ActionCode(14); 98 99 100 104 public static final ActionCode ACTION_REQ_SSL_CERTIFICATE = new ActionCode(15); 105 106 107 110 public static final ActionCode ACTION_REQ_REMOTEPORT_ATTRIBUTE = new ActionCode(16); 111 112 113 116 public static final ActionCode ACTION_REQ_LOCALPORT_ATTRIBUTE = new ActionCode(17); 117 118 119 122 public static final ActionCode ACTION_REQ_LOCAL_ADDR_ATTRIBUTE = new ActionCode(18); 123 124 125 128 public static final ActionCode ACTION_REQ_LOCAL_NAME_ATTRIBUTE = new ActionCode(19); 129 130 131 134 public static final ActionCode ACTION_REQ_SET_BODY_REPLAY = new ActionCode(20); 135 136 137 140 public static final ActionCode ACTION_COMET_BEGIN = new ActionCode(21); 141 142 143 146 public static final ActionCode ACTION_COMET_END = new ActionCode(22); 147 148 149 int code; 151 152 155 private ActionCode(int code) { 156 this.code=code; 157 } 158 159 161 public int getCode() { 162 return code; 163 } 164 165 166 } 167 | Popular Tags |