spring-framework
5.3.39

# after

fun after(responseProcessor: (ServerRequest, ServerResponse) -> ServerResponse)
Content copied to clipboard

Filter the response object for all routes created by this builder with the given response processing function. Filters are typically used to address cross-cutting concerns, such as logging, security, etc.

#### Since

5.2

## Parameters

responseProcessor

a function that transforms the response