All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java-helidon.server.libraries.se.formParamsInitial.mustache Maven / Gradle / Ivy

There is a newer version: 7.6.0
Show newest version
Map> nonFileFormContent = new HashMap<>();
        Map> fileFormContent = new HashMap<>();
        Single formSingle = request.content().asStream(ReadableBodyPart.class)
                                         .forEach(part -> {
                                            String name = part.name();{{#formParams}}
                                            if ("{{baseName}}".equals(name)) {
                                                {{^isFile}}processNonFileFormField(name, nonFileFormContent, part);{{/isFile}}{{!
                                                }}{{#isFile}}processFileFormField(name, fileFormContent, part);{{/isFile}}
                                            }{{/formParams}}
                                            part.drain();
                                         });




© 2015 - 2024 Weber Informatics LLC | Privacy Policy