Package nablarch.fw.jaxrs
Class JaxRsAccessJsonLogFormatter.RequestBodyBuilder
java.lang.Object
nablarch.fw.jaxrs.JaxRsAccessJsonLogFormatter.RequestBodyBuilder
- All Implemented Interfaces:
JsonLogObjectBuilder<JaxRsAccessLogFormatter.JaxRsAccessLogContext>
- Enclosing class:
- JaxRsAccessJsonLogFormatter
public static class JaxRsAccessJsonLogFormatter.RequestBodyBuilder
extends Object
implements JsonLogObjectBuilder<JaxRsAccessLogFormatter.JaxRsAccessLogContext>
リクエストのボディを処理する。
-
Constructor Summary
ConstructorsConstructorDescriptionRequestBodyBuilder(MessageBodyLogTargetMatcher logTargetMatcher, LogContentMaskingFilter maskingFilter) コンストラクタ -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild(Map<String, Object> structuredObject, JaxRsAccessLogFormatter.JaxRsAccessLogContext context) 構造化ログのオブジェクトを構築する。
-
Constructor Details
-
RequestBodyBuilder
public RequestBodyBuilder(MessageBodyLogTargetMatcher logTargetMatcher, LogContentMaskingFilter maskingFilter) コンストラクタ- Parameters:
logTargetMatcher- ログ出力対象判定maskingFilter- マスク処理フィルタ
-
-
Method Details
-
build
public void build(Map<String, Object> structuredObject, JaxRsAccessLogFormatter.JaxRsAccessLogContext context) 構造化ログのオブジェクトを構築する。- Specified by:
buildin interfaceJsonLogObjectBuilder<JaxRsAccessLogFormatter.JaxRsAccessLogContext>- Parameters:
structuredObject- 構築先のオブジェクトcontext- ログコンテキスト
-