public static class FormParserFactory.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FormParserFactory.Builder | addParser(FormParserFactory.ParserDefinition definition) |
FormParserFactory.Builder | addParsers(FormParserFactory.ParserDefinition... definition) |
FormParserFactory.Builder | addParsers(List<FormParserFactory.ParserDefinition> definition) |
FormParserFactory | build() |
String | getDefaultCharset() |
List<FormParserFactory.ParserDefinition> | getParsers() |
void | setDefaultCharset(String defaultCharset) |
void | setParsers(List<FormParserFactory.ParserDefinition> parsers) |
FormParserFactory.Builder | withDefaultCharset(String defaultCharset) A chainable version of setDefaultCharset(java.lang.String) . |
FormParserFactory.Builder | withParsers(List<FormParserFactory.ParserDefinition> parsers) A chainable version of setParsers(java.util.List<io.undertow.server.handlers.form.FormParserFactory.ParserDefinition>) . |
public FormParserFactory.Builder addParser(FormParserFactory.ParserDefinition definition)
public FormParserFactory.Builder addParsers(FormParserFactory.ParserDefinition... definition)
public FormParserFactory.Builder addParsers(List<FormParserFactory.ParserDefinition> definition)
public List<FormParserFactory.ParserDefinition> getParsers()
public void setParsers(List<FormParserFactory.ParserDefinition> parsers)
public FormParserFactory.Builder withParsers(List<FormParserFactory.ParserDefinition> parsers)
setParsers(java.util.List<io.undertow.server.handlers.form.FormParserFactory.ParserDefinition>)
.public String getDefaultCharset()
public void setDefaultCharset(String defaultCharset)
public FormParserFactory.Builder withDefaultCharset(String defaultCharset)
setDefaultCharset(java.lang.String)
.public FormParserFactory build()
Copyright © 2020 JBoss by Red Hat. All rights reserved.