This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Order | |
@Slf4j | |
@Component | |
@RequiredArgsConstructor | |
public class PrepareHeaderWebFilter implements WebFilter { | |
private static final byte[] EMPTY_BYTES = {}; | |
public static final String CACHED_REQUEST_BODY_ATTR = "cachedRequestBody"; | |
public static final String CACHED_SERVER_HTTP_REQUEST_DECORATOR_ATTR = "cachedServerHttpRequestDecorator"; | |
private static final List<HttpMessageReader<?>> MESSAGE_READERS = HandlerStrategies.withDefaults() |