@Published(tag="architect") public class HttpAccessJsonLogFormatter extends HttpAccessLogFormatter
PROPS_PREFIX
Modifier and Type | Method and Description |
---|---|
boolean |
containsMemoryItem()
出力対象にメモリ項目が含まれているか否かを判定する。
|
protected JsonSerializationManager |
createSerializationManager(nablarch.core.text.json.JsonSerializationSettings settings)
変換処理に使用する
JsonSerializationManager を生成する。 |
java.lang.String |
formatBegin(nablarch.fw.web.handler.HttpAccessLogFormatter.HttpAccessLogContext context)
リクエスト処理開始時のメッセージをフォーマットする。
|
java.lang.String |
formatDispatchingClass(nablarch.fw.web.handler.HttpAccessLogFormatter.HttpAccessLogContext context)
ディスパッチ先クラス決定後のメッセージをフォーマットする。
|
java.lang.String |
formatEnd(nablarch.fw.web.handler.HttpAccessLogFormatter.HttpAccessLogContext context)
リクエスト処理終了時のメッセージをフォーマットする。
|
java.lang.String |
formatParameters(nablarch.fw.web.handler.HttpAccessLogFormatter.HttpAccessLogContext context)
hiddenパラメータ復号後のメッセージをフォーマットする。
|
protected java.util.Map<nablarch.core.log.basic.JsonLogObjectBuilder> |
getObjectBuilders(java.util.Map props)
フォーマット対象のログ出力項目を取得する。
|
protected void |
initialize(java.util.Map props)
初期化。
フォーマット済みのログ出力項目を初期化する。
|
createAccessLogContext, getDateFormat, getLogItems, getMaskingChar, getMaskingPatterns, getProp, getSeparator, initializeEnabled, initializeLogItems, isBeginOutputEnabled, isDispatchingClassOutputEnabled, isEndOutputEnabled, isParametersOutputEnabled
protected void initialize(java.util.Map props)
initialize
in class HttpAccessLogFormatter
props
- 各種ログ出力の設定情報protected JsonSerializationManager createSerializationManager(nablarch.core.text.json.JsonSerializationSettings settings)
JsonSerializationManager
を生成する。settings
- 各種ログ出力の設定情報JsonSerializationManager
protected java.util.Map<nablarch.core.log.basic.JsonLogObjectBuilder> getObjectBuilders(java.util.Map props)
props
- 各種ログ出力の設定情報public boolean containsMemoryItem()
containsMemoryItem
in class HttpAccessLogFormatter
public java.lang.String formatBegin(nablarch.fw.web.handler.HttpAccessLogFormatter.HttpAccessLogContext context)
formatBegin
in class HttpAccessLogFormatter
context
- HttpAccessLogContextpublic java.lang.String formatParameters(nablarch.fw.web.handler.HttpAccessLogFormatter.HttpAccessLogContext context)
formatParameters
in class HttpAccessLogFormatter
context
- HttpAccessLogContextpublic java.lang.String formatDispatchingClass(nablarch.fw.web.handler.HttpAccessLogFormatter.HttpAccessLogContext context)
formatDispatchingClass
in class HttpAccessLogFormatter
context
- HttpAccessLogContextpublic java.lang.String formatEnd(nablarch.fw.web.handler.HttpAccessLogFormatter.HttpAccessLogContext context)
formatEnd
in class HttpAccessLogFormatter
context
- HttpAccessLogContext