Function that apply an AccessLog by an
AccessLogArgProvider.
Can be used in accessLog method for example.
| Modifier and Type | Method and Description |
|---|---|
| public static AccessLogFactory | Returns: anAccessLogFactory to be used in
reactor.the filter that returns predicate)true if the request should be logged, false otherwiseHelper method to create an access log factory that selectively enables access logs. |
| public static AccessLogFactory | Returns: anAccessLogFactory to be used in
reactor.the filter that returns predicate, AccessLogFactory true if the request should be logged, false otherwisethe formatFunction)AccessLogFactory that creates AccessLog instances, encapsulating the
format
and the extraction of relevant argumentsHelper method to create an access log factory that selectively enables access logs and customizes the format to apply. |
| createFilter | back to summary |
|---|---|
| public static AccessLogFactory createFilter(Predicate<AccessLogArgProvider> predicate) Helper method to create an access log factory that selectively enables access logs.
Any request (represented as an
| |
| createFilter | back to summary |
|---|---|
| public static AccessLogFactory createFilter(Predicate<AccessLogArgProvider> predicate, AccessLogFactory formatFunction) Helper method to create an access log factory that selectively enables access logs and customizes the format to apply.
Any request (represented as an
| |