public class MultiPartParserDefinition extends Object implements FormParserFactory.ParserDefinition<MultiPartParserDefinition>
Modifier and Type | Field and Description |
---|---|
static String |
MULTIPART_FORM_DATA |
Constructor and Description |
---|
MultiPartParserDefinition() |
MultiPartParserDefinition(Path tempDir) |
Modifier and Type | Method and Description |
---|---|
FormDataParser |
create(HttpServerExchange exchange) |
String |
getDefaultEncoding() |
Executor |
getExecutor() |
long |
getMaxIndividualFileSize() |
Path |
getTempFileLocation() |
MultiPartParserDefinition |
setDefaultEncoding(String defaultEncoding) |
MultiPartParserDefinition |
setExecutor(Executor executor) |
void |
setMaxIndividualFileSize(long maxIndividualFileSize) |
MultiPartParserDefinition |
setTempFileLocation(Path tempFileLocation) |
public static final String MULTIPART_FORM_DATA
public MultiPartParserDefinition()
public MultiPartParserDefinition(Path tempDir)
public FormDataParser create(HttpServerExchange exchange)
create
in interface FormParserFactory.ParserDefinition<MultiPartParserDefinition>
public Executor getExecutor()
public MultiPartParserDefinition setExecutor(Executor executor)
public Path getTempFileLocation()
public MultiPartParserDefinition setTempFileLocation(Path tempFileLocation)
public String getDefaultEncoding()
public MultiPartParserDefinition setDefaultEncoding(String defaultEncoding)
setDefaultEncoding
in interface FormParserFactory.ParserDefinition<MultiPartParserDefinition>
public long getMaxIndividualFileSize()
public void setMaxIndividualFileSize(long maxIndividualFileSize)
Copyright © 2017 JBoss by Red Hat. All rights reserved.