Top Description Fields Constructors Methods
reactor.netty5.http.logging

public Class ReactorNettyHttpMessageLogFactory

extends AbstractHttpMessageLogFactory
Class Inheritance
Imports
io.netty5.handler.codec.DecoderResult, java.util.Map, java.util.function.Function

Reactor Netty factory for generating a log message based on a given HttpMessageArgProvider.
Author
Violeta Georgieva
Since
1.0.4

Field Summary

Modifier and TypeField and Description
pack-priv static final Function<DecoderResult, String>
pack-priv static final Function<Map.Entry<CharSequence, CharSequence>, String>
pack-priv static final Function<String, String>
public static final ReactorNettyHttpMessageLogFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
protected Function<DecoderResult, String>

Returns:

the function that is used for sanitizing the decoding result
decoderResultFunction
()

Returns the function that is used for sanitizing the decoding result.

protected Function<Map.Entry<CharSequence, CharSequence>, String>

Returns:

the function that is used for sanitizing the headers values
headerValueFunction
()

Returns the function that is used for sanitizing the headers values.

protected Function<String, String>

Returns:

the function that is used for sanitizing the uri
uriValueFunction
()

Returns the function that is used for sanitizing the uri.

Inherited from reactor.netty5.http.logging.AbstractHttpMessageLogFactory:
debugerrorinfotracewarn

Field Detail

DEFAULT_DECODER_RESULT_FUNCTIONback to summary
pack-priv static final Function<DecoderResult, String> DEFAULT_DECODER_RESULT_FUNCTION
DEFAULT_HEADER_VALUE_FUNCTIONback to summary
pack-priv static final Function<Map.Entry<CharSequence, CharSequence>, String> DEFAULT_HEADER_VALUE_FUNCTION
DEFAULT_URI_VALUE_FUNCTIONback to summary
pack-priv static final Function<String, String> DEFAULT_URI_VALUE_FUNCTION
INSTANCEback to summary
public static final ReactorNettyHttpMessageLogFactory INSTANCE

Constructor Detail

ReactorNettyHttpMessageLogFactoryback to summary
public ReactorNettyHttpMessageLogFactory()

Method Detail

commonback to summary
public String common(HttpMessageArgProvider arg)

Implements abstract reactor.netty5.http.logging.AbstractHttpMessageLogFactory.common.

Annotations
@Override
decoderResultFunctionback to summary
protected Function<DecoderResult, String> decoderResultFunction()

Returns the function that is used for sanitizing the decoding result.

Returns:Function<DecoderResult, String>

the function that is used for sanitizing the decoding result

headerValueFunctionback to summary
protected Function<Map.Entry<CharSequence, CharSequence>, String> headerValueFunction()

Returns the function that is used for sanitizing the headers values.

Returns:Function<Map.Entry<CharSequence, CharSequence>, String>

the function that is used for sanitizing the headers values

uriValueFunctionback to summary
protected Function<String, String> uriValueFunction()

Returns the function that is used for sanitizing the uri.

Returns:Function<String, String>

the function that is used for sanitizing the uri