It does this by iterating the available parser definitions, and returning the first parser that is created.
| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private static final AttachmentKey | |
| private final FormParserFactory. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static FormParserFactory. | |
| public static FormParserFactory. | |
| public FormDataParser | Returns: A form data parser, or null if there is no parser registered for the request content typeThe exchange exchange)Creates a form data parser for this request. |
| ATTACHMENT_KEY | back to summary |
|---|---|
| private static final AttachmentKey<FormDataParser> ATTACHMENT_KEY | |
| parserDefinitions | back to summary |
|---|---|
| private final FormParserFactory. | |
| FormParserFactory | back to summary |
|---|---|
| pack-priv FormParserFactory(final List<FormParserFactory. | |
| builder | back to summary |
|---|---|
| public static FormParserFactory. | |
| builder | back to summary |
|---|---|
| public static FormParserFactory. | |
| createParser | back to summary |
|---|---|
| public FormDataParser createParser(final HttpServerExchange exchange) Creates a form data parser for this request. If a parser has already been created for the request the existing parser will be returned rather than creating a new one.
| |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public FormParserFactory. | |
| public FormParserFactory. | |
| public FormParserFactory. | |
| public FormParserFactory | |
| public String | |
| public List | |
| public void | |
| public void | |
| public FormParserFactory. | |
| public FormParserFactory. |
| defaultCharset | back to summary |
|---|---|
| private String defaultCharset | |
| parsers | back to summary |
|---|---|
| private List<FormParserFactory. | |
| Builder | back to summary |
|---|---|
| public Builder() | |
| addParser | back to summary |
|---|---|
| public FormParserFactory. | |
| addParsers | back to summary |
|---|---|
| public FormParserFactory. | |
| addParsers | back to summary |
|---|---|
| public FormParserFactory. | |
| build | back to summary |
|---|---|
| public FormParserFactory build() | |
| getDefaultCharset | back to summary |
|---|---|
| public String getDefaultCharset() | |
| getParsers | back to summary |
|---|---|
| public List | |
| setDefaultCharset | back to summary |
|---|---|
| public void setDefaultCharset(String defaultCharset) | |
| setParsers | back to summary |
|---|---|
| public void setParsers(List<FormParserFactory. | |
| withDefaultCharset | back to summary |
|---|---|
| public FormParserFactory. A chainable version of | |
| withParsers | back to summary |
|---|---|
| public FormParserFactory. A chainable version of | |
| Modifier and Type | Method and Description |
|---|---|
| public FormDataParser | |
| public T |
| create | back to summary |
|---|---|
| public FormDataParser create(final HttpServerExchange exchange) | |
| setDefaultEncoding | back to summary |
|---|---|
| public T setDefaultEncoding(String charset) | |