jp.maru.liquid.core.plugins.http.util
クラス ActionHelper

java.lang.Object
  上位を拡張 jp.maru.liquid.core.plugins.http.util.ActionHelper

public class ActionHelper
extends java.lang.Object

Action系のヘルパーメソッド群

バージョン:
1.0
作成者:
Kohji Tsujita

フィールドの概要
private static org.slf4j.Logger logger
           
 
コンストラクタの概要
ActionHelper()
           
 
メソッドの概要
static java.lang.String convertErrorToJSON(ActionContext context)
          Context内のエラーをJSON形式に変換
static java.util.Map<java.lang.String,java.lang.Object> getParameters(HttpRequest request)
          HttpRequestからパラメータMapを作る
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

logger

private static final org.slf4j.Logger logger
コンストラクタの詳細

ActionHelper

public ActionHelper()
メソッドの詳細

getParameters

public static java.util.Map<java.lang.String,java.lang.Object> getParameters(HttpRequest request)
HttpRequestからパラメータMapを作る

パラメータ:
request - HttpRequest
戻り値:
パラメータをMapにしたもの

convertErrorToJSON

public static java.lang.String convertErrorToJSON(ActionContext context)
Context内のエラーをJSON形式に変換

パラメータ:
context - ActionContext
戻り値:
JSONバリュー