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