public class FormEncodedDataDefinition extends Object implements FormParserFactory.ParserDefinition<FormEncodedDataDefinition>
FormDataParser
to the chain that can parse the underlying form data asynchronously.Modifier and Type | Field and Description |
---|---|
static String | APPLICATION_X_WWW_FORM_URLENCODED |
Constructor and Description |
---|
FormEncodedDataDefinition() |
Modifier and Type | Method and Description |
---|---|
FormDataParser | create(HttpServerExchange exchange) |
String | getDefaultEncoding() |
boolean | isForceCreation() |
FormEncodedDataDefinition | setDefaultEncoding(String defaultEncoding) |
FormEncodedDataDefinition | setForceCreation(boolean forceCreation) |
public static final String APPLICATION_X_WWW_FORM_URLENCODED
public FormDataParser create(HttpServerExchange exchange)
create
in interface FormParserFactory.ParserDefinition<FormEncodedDataDefinition>
public String getDefaultEncoding()
public boolean isForceCreation()
public FormEncodedDataDefinition setForceCreation(boolean forceCreation)
public FormEncodedDataDefinition setDefaultEncoding(String defaultEncoding)
setDefaultEncoding
in interface FormParserFactory.ParserDefinition<FormEncodedDataDefinition>
Copyright © 2017 JBoss by Red Hat. All rights reserved.