Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce getContentAsString() in ContentCachingRequestWrapper #30709

Commits on Jun 21, 2023

  1. Add method to get content as a String to ContentCachingRequestWrapper

    Add a method, getContentAsString, to ContentCachingRequestWrapper. Having a method
    directly on ContentCachingRequestWrapper allows delegating to the toString(Charset) method
    of ByteArrayOutputStream, avoiding an extra copy that calling getContentAsByteArray and then
    converting to a String would.
    kilink committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    e1e0b5e View commit details
    Browse the repository at this point in the history