Package ch.qos.logback.access.pattern
Class RequestAttributeConverter
java.lang.Object
ch.qos.logback.core.pattern.Converter<E>
ch.qos.logback.core.pattern.FormattingConverter<E>
ch.qos.logback.core.pattern.DynamicConverter<IAccessEvent>
ch.qos.logback.access.pattern.AccessConverter
ch.qos.logback.access.pattern.RequestAttributeConverter
- All Implemented Interfaces:
ContextAware,LifeCycle
-
Field Summary
Fields inherited from class ch.qos.logback.access.pattern.AccessConverter
QUESTION_CHAR, SPACE_CHARFields inherited from class ch.qos.logback.core.pattern.DynamicConverter
started -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(IAccessEvent accessEvent) The convert method is responsible for extracting data from the event and storing it for later use by the write method.voidstart()Components that depend on options passed during configuration can override this method in order to make appropriate use of those options.Methods inherited from class ch.qos.logback.access.pattern.AccessConverter
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContextMethods inherited from class ch.qos.logback.core.pattern.DynamicConverter
getFirstOption, getOptionList, isStarted, setOptionList, stopMethods inherited from class ch.qos.logback.core.pattern.FormattingConverter
getFormattingInfo, setFormattingInfo, write
-
Constructor Details
-
RequestAttributeConverter
public RequestAttributeConverter()
-
-
Method Details
-
start
Description copied from class:DynamicConverterComponents that depend on options passed during configuration can override this method in order to make appropriate use of those options. For simpler components, the trivial implementation found in this abstract class will be sufficient.- Specified by:
startin interfaceLifeCycle- Overrides:
startin classDynamicConverter<IAccessEvent>
-
convert
Description copied from class:ConverterThe convert method is responsible for extracting data from the event and storing it for later use by the write method.- Specified by:
convertin classConverter<IAccessEvent>
-