|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HttpDataFactory

Interface to enable creation of InterfaceHttpData objects
| Method Summary | |
|---|---|
void |
cleanAllHttpDatas()
Remove all InterfaceHttpData from virtual File storage from clean list for all requests |
void |
cleanRequestHttpDatas(HttpRequest request)
Remove all InterfaceHttpData from virtual File storage from clean list for the request |
Attribute |
createAttribute(HttpRequest request,
String name)
|
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) |
| Method Detail |
|---|
Attribute createAttribute(HttpRequest request,
String name)
throws NullPointerException,
IllegalArgumentException
request - associated requestname -
NullPointerException
IllegalArgumentException
Attribute createAttribute(HttpRequest request,
String name,
String value)
throws NullPointerException,
IllegalArgumentException
request - associated requestname - value -
NullPointerException
IllegalArgumentException
FileUpload createFileUpload(HttpRequest request,
String name,
String filename,
String contentType,
String contentTransferEncoding,
Charset charset,
long size)
throws NullPointerException,
IllegalArgumentException
request - associated requestname - filename - contentType - charset - contentTransferEncoding - size - the size of the Uploaded file
NullPointerException
IllegalArgumentException
void removeHttpDataFromClean(HttpRequest request,
InterfaceHttpData data)
request - associated requestdata - void cleanRequestHttpDatas(HttpRequest request)
request - associated requestvoid cleanAllHttpDatas()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||