Class FormParserFactory
java.lang.Object
org.jboss.resteasy.reactive.server.core.multipart.FormParserFactory
Factory class that can create a form data parser for a given request.
It does this by iterating the available parser definitions, and returning the first parser that is created.
- Author:
- Stuart Douglas
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic interface -
Method Summary
Modifier and TypeMethodDescriptionstatic FormParserFactory.Builderstatic FormParserFactory.BuildercreateParser(ResteasyReactiveRequestContext exchange, Set<String> fileFormNames) Creates a form data parser for this request.
-
Method Details
-
createParser
public FormDataParser createParser(ResteasyReactiveRequestContext exchange, Set<String> fileFormNames) Creates a form data parser for this request.- Parameters:
exchange- The exchangefileFormNames-- Returns:
- A form data parser, or null if there is no parser registered for the request content type
-
builder
-
builder
public static FormParserFactory.Builder builder(boolean includeDefault, Supplier<Executor> executorSupplier)
-