@Nullable
    @SuppressWarnings("override") // To be compatible with Spring 5.2.X
    public <T> T getNativeRequest() {
        if (request == null) {
            return null;
        }
        //noinspection unchecked
        return (T) request;
    }
A {@link ClientHttpRequest} implementation for the Armeria HTTP client.
spring/spring6/src/main/java/com/linecorp/armeria/spring/internal/client/ArmeriaClientHttpRequest.java