1 /* 2 * Copyright 2004-2009 the Seasar Foundation and the Others. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 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, 13 * either express or implied. See the License for the specific language 14 * governing permissions and limitations under the License. 15 */ 16 package org.seasar.cubby; 17 18 /** 19 * フレームワークで使用する定数クラスです。 20 * 21 * @author agata 22 * @author baba 23 */ 24 public class CubbyConstants { 25 26 // request -------------------------------------------------------- 27 28 /** 29 * アクションオブジェクトの要求の属性名。 30 */ 31 public static final String ATTR_ACTION = "action"; 32 33 /** 34 * メッセージリソースを <code>Map</code> に変換したオブジェクトの要求の属性名。 35 */ 36 public static final String ATTR_MESSAGES = "messages"; 37 38 /** 39 * アクションエラーの要求の属性名。 40 */ 41 public static final String ATTR_ERRORS = "errors"; 42 43 /** 44 * コンテキストパスの要求の属性名。 45 */ 46 public static final String ATTR_CONTEXT_PATH = "contextPath"; 47 48 /** 49 * パラメータオブジェクトの要求の属性名。 50 */ 51 public static final String ATTR_PARAMS = "org.seasar.cubby.params"; 52 53 /** 54 * 内部フォワード時にルーティング情報を引き渡すための要求の属性名。 55 */ 56 public static final String ATTR_ROUTING = "org.seasar.cubby.routing"; 57 58 /** 59 * アクションコンテキストの要求の属性名。 60 */ 61 public static final String ATTR_ACTION_CONTEXT = "org.seasar.cubby.actionContext"; 62 63 /** 64 * 型変換失敗の要求の属性名。 65 */ 66 public static final String ATTR_CONVERSION_FAILURES = "org.seasar.cubby.conversionFailures"; 67 68 /** 69 * バリデーションエラーを表すオブジェクトの要求の属性名。 70 */ 71 public static final String ATTR_VALIDATION_FAIL = "org.seasar.cubby.validationFail"; 72 73 /** 74 * フォームオブジェクトのラッパーファクトリの要求の属性名。 75 */ 76 public static final String ATTR_FORM_WRAPPER_FACTORY = "org.seasar.cubby.formWrapperFactory"; 77 78 /** 79 * フィルターチェインの要求の属性名。 80 */ 81 public static final String ATTR_FILTER_CHAIN = "org.seasar.cubby.filterChain"; 82 83 // session -------------------------------------------------------- 84 85 /** 86 * フラッシュメッセージのセッションの属性名。 87 */ 88 public static final String ATTR_FLASH = "flash"; 89 90 /** 91 * セッショントークンの <code>Map</code> のセッションの属性名。 92 */ 93 public static final String ATTR_TOKEN = "org.seasar.cubby.token"; 94 95 }