public interface HttpDataFactory
Modifier and Type | Method and Description |
---|---|
void |
cleanAllHttpData()
Remove all InterfaceHttpData from virtual File storage from clean list for all requests
|
void |
cleanAllHttpDatas()
Deprecated.
Use
cleanAllHttpData() instead. |
void |
cleanRequestHttpData(HttpRequest request)
Remove all InterfaceHttpData from virtual File storage from clean list for the request
|
void |
cleanRequestHttpDatas(HttpRequest request)
Deprecated.
Use
cleanRequestHttpData(HttpRequest) instead. |
Attribute |
createAttribute(HttpRequest request,
String name) |
Attribute |
createAttribute(HttpRequest request,
String name,
long definedSize) |
Attribute |
createAttribute(HttpRequest request,
String name,
String value) |
FileUpload |
createFileUpload(HttpRequest request,
String name,
String filename,
String contentType,
String contentTransferEncoding,
Charset charset,
long size) |
void |
removeHttpDataFromClean(HttpRequest request,
InterfaceHttpData data)
Remove the given InterfaceHttpData from clean list (will not delete the file, except if the file
is still a temporary one as setup at construction)
|
void |
setMaxLimit(long max)
To set a max size limitation on fields.
|
void setMaxLimit(long max)
Attribute createAttribute(HttpRequest request, String name)
request
- associated requestAttribute createAttribute(HttpRequest request, String name, long definedSize)
request
- associated requestname
- name of the attributedefinedSize
- defined size from request for this attributeAttribute createAttribute(HttpRequest request, String name, String value)
request
- associated requestFileUpload createFileUpload(HttpRequest request, String name, String filename, String contentType, String contentTransferEncoding, Charset charset, long size)
request
- associated requestsize
- the size of the Uploaded filevoid removeHttpDataFromClean(HttpRequest request, InterfaceHttpData data)
request
- associated requestvoid cleanRequestHttpData(HttpRequest request)
request
- associated requestvoid cleanAllHttpData()
@Deprecated void cleanRequestHttpDatas(HttpRequest request)
cleanRequestHttpData(HttpRequest)
instead.@Deprecated void cleanAllHttpDatas()
cleanAllHttpData()
instead.Copyright © 2008–2024 The Netty Project. All rights reserved.