private Optional<String> asString(TextBody textBody) throws IOException { return Optional.ofNullable(IOUtils.toString(textBody.getInputStream(), charset(Optional.ofNullable(textBody.getMimeCharset())))); }
private Optional<String> asString(TextBody textBody) throws IOException { return Optional.ofNullable(IOUtils.toString(textBody.getInputStream(), charset(Optional.ofNullable(textBody.getMimeCharset())))); }
private Optional<String> asString(TextBody textBody) throws IOException { return Optional.ofNullable(IOUtils.toString(textBody.getInputStream(), charset(Optional.ofNullable(textBody.getMimeCharset())))); }